Wasp

W

Wasp

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

Join

Issues with upgrading wasp project to v15

I'm trying to update my wasp project up to 0.15.1, the same version I'm currently running on my machine, but whenever I attempt any wasp command (wasp db start or wasp start), I get an error:
- Wasp requires package "prisma" to be version "5.19.1" in package.json.
- Wasp requires package "prisma" to be version "5.19.1" in package.json.
I've already run wasp clean, and have changed my wasp version in my main.wasp file to be 0.15.1...

Google OAuth : Missing required parameter: scope

Hi - I am working on a project locally and Google OAuth suddenly stopped working and shows an error saying “Access blocked: Authorization Error” and “Missing required parameter: scope” It worked fine yesterday and looking through the docs, it seems like the config in code and on GCloud are okay. I am using the saas template. Wasp version 0.16.2. The app starts fine without errors on wasp start, login with email & password is fine. Confirmed that the Client ID & secret are .env.server...
No description

Custom database is active and accepting connections but I cannot start the project

I am using "wasp start" and "wasp db migrate-dev" since it is a new fresh database. How to get it started as there is no documentation regarding this

How can I modify getVerificationEmailContent to support language-based email content?

Hello everyone, I'm using Wasp's built-in authentication and have configured email verification in my main.wasp file. The functions getVerificationEmailContent and getPasswordResetEmailContent currently only accept an object with a verificationLink. However, I would like to send emails in different languages based on a language field stored in one of my database tables. I've reviewed the documentation but couldn’t find a way to pass an extra parameter (e.g., the user's language) to these functions or to dynamically choose the email content based on the language. ...

Help needed: Cannot find module '@wasp/auth'

🚨 Help needed: Cannot find module '@wasp/auth' Hi everyone, I'm having trouble compiling my Wasp project, and I keep getting errors related to @wasp/auth. 🔴 Error messages:...

Set cookies in response headers

I want to set a third party cookie in response headers for a action or query. How can I achieve this

Deploying Wasp on Railway using SupaBase

Hey everyone. I have fully built my saas app using the open saas template and now was to deploy it using Railway. I am having a hard time getting it to deploy successfully. Has anyone else launch on Railway with SupaBase ? Thanks in advance Currently the error I am getting in Railway after deploying is : Starting Container...

Set-up Hosting SAAS Wasp on Digital Ocean

Hey all! I'm trying to set-up the basic Open SaaS Wasp application on Digital Ocean. I was able to get it running locally without any issues. I got the base version running from the "Getting Started" page locally. Saved that app on GitHub. Now I want to use the GitHub repo as a source for a Digital Ocean App Platform....

Multitenant

I am contemplating on vibe coding a multitenant saas with multiple subdomains, so basically for teams. The built in auth for opensaas has scant ways on how to achieve that, and my tries are just error ridden. any elegant way of doing that?

email verification

Hi, I have a wasp + open saas setup with a sendgrid api key to handle email verification, but I do not see any confirmation of emails being sent in the wasp terminal, nor do I see any emails in my inbox. I have setup the sendgrid account according to instructions. I also can't see that the sendgrid::setApiKey() is being called anywhere. I'm running the website locally in dev mode (wasp start)....

Best way to make local dev project accessible on my mobile in local network?

I'd like to test my WASP app on my mobile browser, and I am able to reach the frontend, but naturally it fails when it needs to perform and backend operation. What would be the proper way to configure it in WASP?

/app/src/client VS /app/src/server?

tldr; I'm struggling to understand what files (if any) should be in the /server vs the /client directory. Best practices? Security implications? Hi there, ...

error in main.wasp when PrismaSchemaFolder active.

Hello guys, I'm having the "Type error: Unidentified identifier: User typecheck" line 34 from main.wasp in "userEntity: User," I'm pretty new at wasp lang, but it all started when I changed to PrismaFolder organization. Any tip?

How to import "Routes" from another file into Main.wasp? If possible.

Hi guys, I'm looking for a way to define Routes in Wasp in a separate file (myroutes.wasp) and then import them into Main.wasp but I can't find anything from the documentation. Does anyone have a suggestion or a solution?...

Logging requestID / correlationID

Hey! I'm interested in your opinion on the best way to correlate all the logs for each request. I am concerned that once an app is deployed in prod, the multiple logs from the server would get mixed up and be difficult to troubleshoot. Is this something you have already dealt with in a WASP app?...

Language in LoginSignupForm.tsx

I'm building my first wasp based on the saas app template and I want to first translate everything to Spanish. I've changed the language everywhere but in the Language in LoginSignupForm.tsx I cannot as it is imported. So then I click to Log in, some text is in english. I would like to know if there is a multilanguage feature I didn't discovered yet, or if the test in LoginSignupForm.tsx can be changed....
No description

tsconfig error

Im using wasp opensaas and im getting this error when i run wasp start db wasp start db ❌ --- [Error] Analyzing wasp project failed: -------------------------------------...

Auth module should support multiple providers

Hello guys, I need some help with the auth module of the OpenSaas project. After enabling OAuth I was not able to support both Email and Google provider for a user. I created a user by email and password, and then after enabling Google Login I tried it with same email Id but it didnot let me to. Any idea to how to make it support multiple providers...

New deploy only on www. subdomain

I did a deploy yesterday but when i go to my app on example.com it doesnt show that deploy but when i go to www.example.com it shows all new changes... How come that? I use fly

Vite + esbuild errors in Wasp dev mode

Hey everyone! 👋 I’m working on App, built with Wasp + OpenSaaS. I successfully deployed the app to production (runs fine), but in dev mode (wasp start), I’m getting Vite + esbuild errors: [plugin:vite:esbuild] Transform failed with 3 errors:...
No description