Wasp

W

Wasp

Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.

Join

How to horizontally scale a Wasp backend (Express + PgBoss)

Hi! I’d like to get your advice on the best way to horizontally scale the backend of a Wasp application — including both the Express server and PgBoss jobs. For example, one option could be to use a Cloudflare load balancer with multiple instances running on a VPS provider like Hetzner, and then modify wasp.main so that only one instance initializes the PgBoss jobs (at least until there’s support for running them in an isolated instance). What do you think about this approach? Do you see any potential issues with it? And are there any recommended approaches or official guidelines from the Wasp team regarding this?...

[ Client ] Could not Fast Refresh ("AuthContext" export is incompatible) in v ^0.18.1

Does anyone had this problem? [ Client ] 14:06:23 [vite] (client) hmr invalidate /@fs/home/ofava/Escritorio/hominvestor/app/.wasp/out/sdk/wasp/dist/auth/forms/Auth.jsx Could not Fast Refresh ("AuthContext" export is incompatible). Learn more at https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#consistent-components-exports...

how do i change fly server endpoint

I had an endpoint for my fly server which was api.domain.xx but nonw i do not have that domain anymore so i deleted it, how do i move the app back to the fly.dev endpoint

Advice needed for changing name of fly app.

Hi, i got a letter where, long story short, they say the name of my app is copyright. So now i deleted the domain from my app and i am left with the initial fly.dev domain. In that domain is still the copyright name so i want to get rid of that, now i know that i can’t change the name just like that. what is the best way to maybe setup a new app and transfer all data etc to that new app with the new name, without loosing al functionalities and all. I hope there is a solution to this because I do not want to loose that data....

fly.io sitch from domain.

I have to switch my application from domain, what is the best way to do that? i need to change server side domain as well as client side domain? Also my database domain or how does that work?

How to pass parameters to useQuery properly?

I have this query implementation: ``` const getAllGoalsByClientSchema = z.object({ selectedClientId: z.string().uuid(), })...

Sign up functionality

Hi, I just did a brand new wasp install with the saas template. I'm just wondering if this is normal functionality or a bug. After signing up and verifying the link from the cmd. I am able to sign up again with the same email. Is this correct or should it say this user already exists? or would that be security issue because people can check if the account exist? Just seeing if anyone knows....

anyone else running into issues deploying?

I am getting stuck at #16 [server-builder 8/11] RUN npm install && cd .wasp/build/server && npm install. i rolled my code back to last working deployment code and did wasp clean but still running into issues. I can do local builds of server and get it deployed but using remote server with command wasp deploy fly deploy hangs each time.

Prisma error with wasp 0.14.0

Hi everyone, I have an issue with wasp 0.14.0 and building the docker image: 2025-11-18T13:39:07.867396909Z [inf] [server-builder 8/11] RUN npm install && cd .wasp/build/server && npm install...

Tailwind issue

After installing tailwind according to the official instructions, i get the following error: `` [ Client!] warn - The content` option in your Tailwind CSS configuration is missing or empty. [ Client!] warn - Configure your content sources or your generated CSS will be missing styles. [ Client!] warn - https://tailwindcss.com/docs/content-configuration...

Continuous Deployment with fly.io

I'm looking for instruction of what is the best practice setting up CD with WASP, github actions and fly.io. Could someone please point me out to documentation?

Auth Hooks: Welcome email sent twice (onAfterSignup + onAfterEmailVerified)

Hey! I need your help about how to handle the Auth Hooks. I’m trying to send a welcome email once a user has successfully created and verified their account. I support both Email and Google authentication....

hello i have a question, how can i create session Wasp with keycloak login?

hello i have a question, how can i create session Wasp with keycloak login? i created api. so i wanna call it

my website built with wasp showing black

after i built everything completely i ran wasp start and i keep getting a blank page

Error when i want to create a new project

i get this error "albert@rouche-hq:~$ wasp version Usage: wasp create Available commands:...

How to convert wasp react app to mobile app?

I would like to create mobile apps and if possible reuse the existing code. So a wrapper for mobile app would be good

I struggle so hard with API auth

I always get this when auth is set to true for an api. [ Server!] [VoiceAgentSession] Failed to initialize voice session: HttpError: Authentication required [ Server!] at _waspvoiceAgentSessionfn (/Users/jacobferrari/wasupupdate/my-saas/app/src/server/agents/apis/voiceAgentSession.ts:17:13) [ Server!] at <anonymous> (/Users/jacobferrari/wasupupdate/my-saas/app/.wasp/out/server/src/routes/apis/index.ts:702:14)...

Two different versions of wasp on same machine

How to have two different versions of wasp on same machine? I am planning to work on new project and would like to use latest version that what I have in my previous project.

Does wasp have similar hooks to useAction for the login and signup actions?

I have a custom hook that handles form validation and takes a function to call after validation is complete. It has loading and error states as well. Wasp actions and queries are all built around react-query, which handles the loading and error states internally. Is there something similar for login and signup actions from wasp auth?

Bad Environment Validation

Server ] [nodemon] starting npm run bundle-and-start || exit 1 [ Client ] [ Client ] VITE v7.1.11 ready in 241 ms [ Client ] [ Client ] ➜ Local: http://localhost:4010/...
Next