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

Heads-up: react-konva build break after @types/react 18.3 auto-upgrade

Railway installs grabbed @types/react 18.3 (we declare "^18.0.37"), which dropped implicit children from React.FC/ForwardRefRenderFunction. That breaks react-konva (Stage/Layer/Group no longer accept children) and any Konva configs relying on className/padding/cropX/Y. Dev boxes kept older node_modules so it only surfaced in deploy. Not sure if this will break anything else, just wanted to notify....

Typescript error: Namespace 'React' has no exported member 'JSX'.

I'm on 0.18.1 and I get this typescript error to do with client/router/Link.tsx file Console: [ Wasp ] client/router/Link.tsx(16,10): error TS2694: Namespace 'React' has no exported member 'JSX'....

Could not Fast Refresh ("AuthContext" export is incompatible)

Yesterday updated from 0.16 to 0.18 (latest). Now when recompiling it gives me these alerts: ...

After update to ^0.18 from time to time it breaks hot reload for server

Hello, from time to time after recent migration from 0.17 to 0.18.1 it breaks hot reload for server. I'm getting this warn ``` [ Client ] 3:48:49 PM [vite] (client) hmr update /@fs/home/rafal/dev/app/.wasp/out/sdk/wasp/dist/auth/forms/Auth.jsx...

OOOooo @Wasp Team Can we connect our AI agent(s) directly to WASP Kapa?

Hi @Wasp Team it would soo helpful if we could connect our ai coding agents (ideally by MCP) directly to the kapa.ai that has all the knowledge of all these previously asked questions and solutions!

Cannot read properties of undefined (reading 'ReactCurrentDispatcher'

Hello, I have migrated from 0.16 to 0.17 and then to 0.18. "wasp start" does not show any error/warning. But, I am receiving a new error in console: Uncaught TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher') at chunk-BMJTAGSY.js?v=9cd9bb03:1384:59 at ../../../node_modules/react-dom/cjs/react-dom.development.js (chunk-BMJTAGSY.js?v=9cd9bb03:21585:9) at __require (chunk-V4OQ3NZ2.js?v=9cd9bb03:11:50)...
No description

postmark integration

(No need for help, I can read docs - just want to ask the AI) I don't want to use sendgrid in open-saas, but use postmark. How do I go about this change?...

enum

how do you import an enum type from prisma.schema in wasp?

Trying to deploy, getting a "(reading 'extraneous')"error.

For context, I did migrate from various versions of wasp 0.16.x to 0.17.x, and I think that might have something to do with the problem.

wasp deploy to fly.io not picking up secrets as env variables

I have added an environment variable in the fly.io console but my app isn't able to read it. This is a fresh deployment of a new app to fly.io. I tried an additional wasp deploy fly deploy after setting the secret and it's still not getting picked up.

Serious issues with auth?

I'm not seeing any email uniquesness checks, even on verified email, both locally and test deployment. I can attack any user and change their (required) username and password, the username is simply updated in the DB. All I have to do is know the email. I'm not seeing any discussion about this. I haven't strayed far at all from wasp's auth setup, only requiring username string for display purposes instead of it just copying from the email string....

add PostgreSQL-specific indexes without Prisma drift?

I'm implementing vector similarity search with pgvector and need to create specialized indexes (HNSW for embeddings, GIN for full-text search) that Prisma doesn't support in schema.prisma. Problem: 1. Create a manual SQL migration with CREATE INDEX ... USING hnsw/GIN 2. The migration applies successfully ✅...

DB Migration issues when syncing Prod and Dev DB

To keep my local dev DB sane I created a shell script to dump my prod (deployed) DB to a local file, drop my local database and restore the dump locally. When I then run wasp clean and try to start the server, it prompts me that the migrations do not match and I need to wipe the Database. After that I rerun my sync script to have some Data which works fine, but the next time I need to run wasp clean, I need to repeat the process. It's not a Shopstopper nor Dealbreaker. Just wanted to point it out and ask how you detect the migration changes? I tried to prevent this by excluding the migrations table from the remote dump and do a local dump first and after dropping the local db and restoring the remote dump I also restore the local migrations table hoping to prevent the issue, which sadly did not work. ...

Wasp is not updating the .env variables.

Even with wasp clean, it doesn't seem to update env file. When I build my project, it connects to nonexistant (but I had it before) backend link from the client. I've set it to localhost now, but it doesn't care. I am using REACT_APP_API_URL in the .env.client . It connects to my old railway production backend....

Cannot find module 'wasp/...' on everything wasp related, on OpenSaaS.

Every wasp library in the project gives typescript error in VSCode which is very distracting. Is there a way to fix it? Tried reloading the TS server, cleaning wasp and building it back again. Running 0.18.0 in Ubuntu WSL....

Tips for using aider?

I'm just now getting into testing out LLM stuff, and I just setup sidekick.nvim + aider using gemini. Are there any tips or suggestions with how to use it well? I've seen stuff around wasp with cursor rules, I didn't know if there was something similar for aider.

Prisma Connection Error (Too many clients)

I was coding some new features in my app, and it suddenly started showing this error. I checked the server to see if I had changed anything there, but I didn’t — the last commits were only on the client side. This is an app I’ve been building since last year, and I already have a client using it. The new features were shipped, and now this error just appeared unexpectedly. Wasp version: 0.16.5...
No description

railway deploy for existing app

I have an existing Opensaas app that is currently hosted on Fly.io, and I want to deploy it to my Railway account. The latest Opensaas version now includes easy Railway deployment via the CLI. What are the steps to deploy it to my Railway account?

Deployment fails from ‘AC

I have been trying to deploy for couple days. Single command fails because of dockerfile errors - dockerfile is automatically generated. I am doing this on MAC. Even if I fix the dockerfile - it crashes....

error TS2554: Expected 2 arguments, but got 3.

After migrating from 0.16.0 to 0.17.0, and I run "wasp start", it loads fine, but crashes with the errors src/routes/apis/index.ts(436,59): error TS2554: Expected 2 arguments, but got 3. [ Server ] src/routes/apis/index.ts(454,58): error TS2554: Expected 2 arguments, but got 3. ...