Wasp-lang

W

Wasp-lang

Join the community to ask questions about Wasp-lang and get answers from other members.

Join

Display app version in UI

In my OpenSaaS, I added 'version:0.1.1' to the package.json file in /app/, and I want to display it on the UI. How do I accomplish that? I added the following to operations.ts export const getAppVersion = () => {...

What are the current possibilities and limits of WASP for large apps?

Hi, we want to build an opensource collaboration platform with a core and plenty of plugings (plugings will be developped by the community), so we will integrate a lot of colloboration features (RTC, AI, web3 features...). We are looking for a fullstack JS framework which needs to be "future proof", with great DX, great flexibility, easiness to be deployed as self-hosted solution. Based on this few information, could you give some input if WASP is the right solution for us, and describe which are the limitations in the curent state of maturity of wasp technology? Thanks in advance! Tim from France/Germany...

Remove/replace the server's Hello world response?

Hello, I would like to know if it is possible to remove the Hello World returned message when visiting the server url. The line in question:...

304 error on auth/me after signing up

Kapa when i signed up and try to access a page for which authRequired is set to True. I can't access page and auth/me returns a 304 status.

Google Analytics doesn't track navigation between pages (SPA Google Analytics Integration)

I have run out of the Plausible trial, I want to put GAnalytics. Inside: https://docs.opensaas.sh/guides/analytics/ I have done this step: import { getDailyPageViews, getSources } from './providers/googleAnalyticsUtils'; ...

wasp db studio connecting to prod db shows now data

I've got my connection string in my env vars, and I can confirm that commenting it out connects me to my local db which does show data. I can also confirm I see data in my app deployed to fly.io.

Tried S3 upload file with small files worked but not large files

Hi kapa, i used the template that contains s3 upload feature, configured my s3 bucket and creds and successfully uploaded small sized videos, but when I choose a big video file the front end instantly shows me that its uploaded but when I check the bucket I cannot find large videos uploaded. Can you help me, please keep in mind that I am very new to node js and react 🫡

Upgraded to v0.15 and got this error on wasp start

app|feature/v0.15.0-upgrade⚡ ⇒ wasp start
🐝 --- Starting compilation and setup phase. Hold tight... ------------------------ ...

wasp db migrate-dev error with brand new installation

I started a brand new project to evaluate opensaas. I was able to start the postgres database in docker. When I try to run migrate-dev, I get the error described below. Can someone please give me a hand with this? 🐝 --- Setting up database... ----------------------------------------------------- ...

Production payment doesn't give user subscription

When i try to do a payment in production mode i dont get the subscriptoin status in the database. I complete the payment and get redirected but i think something goes wrong with the webhook. The webhook only notices the following events (see image.) . I think it might be due to version mismatch but i am not sure what version to use and what date to fill in because when i search the dates don't match up (see image). If this is not the problem what else could it be? Stripe client:...
No description

Integrate 3rd-party <script> objects

Certain 3rd party integrations require adding a <script> object to the index.html file. How can I do this with Wasp, given that the index.html file is generated dynamically?

wasp deploy fly deploy failure

Wasp version: 0.15.0 Platform: MacOS I am using the wasp ts. Locally everything builds fine. I've tried doing wasp clean and wasp ts-setup again with no luck. ```_stderr: '==> Verifying app config\n' +...

No MainPage.tsx

I recently began walking through the docs starting with the quick start guide. I have since gotten the the app to start, moving on to https://wasp-lang.dev/docs/tutorial/project-structure where I see a reference to src/MainPage.tsx . I do not have this file in my template app. was version 0.14.2 platform: macOs...

Google oAuth issue on production

On local environment, google auth is working fine, however, on the production I am getting "An unknown error occurred while trying to log in with the OAuth provider.". No clue, no hint on console. I set redirect uri correctly. Does anyone know how to debug it? wasp version: 0.13...

PDF Creation & Prevoew

Hello friends, 🙂 happy open-saas developer here. I am a good way in to the MPV for my mechincal engineering caculation APP. I am at a point where i need my caculation to output into a PDF engineering report style document. What would be the best way to be able to generate a engineering report style PDF, and also then preview it before downloading?...

Another Deployment issue

Hey! I get another odd error here, I run wasp clean and wasp start and for everything is great and when I deploy I get this error. I tore down my previous project and used a new name and so on fly.io. Any leads would be great, I'm not getting too far with cursor let output = new ProcessOutput(code, signal, stdout, stderr, combined, message); ^...

SMTP on wasp build connecting on localhost instead of my SMTP provider

So basically, I have my SMTP configured to be on SMTP2go, with the hosting and password as env variables, also in main.wasp it is set to SMTP. When I try on dev mode (with wasp start) it connects to the SMTP host and sends the email correctly, but when I build all the stuff and deploy both backend and frontend, when it comes to sending a mail, it shows this: ``` POST /auth/email/signup 200 44.671 ms - 16 Failed to send email Error: connect ECONNREFUSED 127.0.0.1:587 at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)...

Expected Behaviour when running flyctl certs list -a <client app name>

@kapa.ai I'm fixing an issue where my site does not load at all when prefixing with www. It loads fine without it. I realised I was missing a CNAME record with www, so I've added one in my DNS settings, but when running flyctl certs list -a <client app name> I only get the domain without the www back. Is that expected? I have updated the DNS but it has only been a few minutes....

seeding prod db

I follow the instructions here https://github.com/wasp-lang/wasp/issues/1464 to seed my db, but got the error:
❌ --- [Error] Can not connect to database: ---------------------------------------

The database needs to be running in order to execute this command. You can easily start a managed dev database with `wasp start db`.
❌ --- [Error] Can not connect to database: ---------------------------------------

The database needs to be running in order to execute this command. You can easily start a managed dev database with `wasp start db`.
...