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

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. ...

Best approach for creating a file on server side and allowing the client to download it

As part of my wasp app, I want the user to be able to request a csv file with certain parameters. That's then sent to the server side, which I then process and create a csv and send back to the user as a download. What's the best way of going about that in Wasp?

Adding GA events tracking

Hi, Is there a way to use the existing Google Analytics integration done through the Cookie Consent function to track specific event ? How can I do that ?...

Deploying a Wasp app to a VPS

Hey! I'm trying to deploy the Wasp backend app on Hetzner using Caddy, following these guidelines https://gist.github.com/infomiho/80f3f50346566e39db56c5e57fefa1fe. However, my reverse proxy doesn’t seem to be working. I checked with netstat inside the Docker container, and it looks like no ports are being exposed. Do you have any idea what might be going wrong?...

fly deploy error

i destroyed my fly db app and created another one and attached the db app to my server app. when i run wasp deploy fly deploy i get an error saying that i dont have a database url on the server app but the secret is there. whats causing this? } ] 🚀 Your server app does not have a DATABASE_URL secret set. Perhaps you need to create or attach your database? ...

Automatic Restart by AI Agent and zombie processes

I am a beginner. I use Linux Mint. I understand that the Wasp server restarts with every change. I also know about the wasp clean command, but I’ve been running into a problem: when AI agents reboot the server, it seems to leave zombie processes alive, and the server never properly reboots—it hangs with an error. What is the fix? It requires logging out and logging back in. In short, this removes all zombie processes. However, this is not a practical solution. I have two dangerous commands that can stop the Wasp servers because Ctrl-C is disabled and won't stop the server manually:...

Remove/destroy Wasp Fly.io deployment

I created a simple Wasp app and tested deploying it to Fly.io and it all worked great. As it was just a silly experiment, I'd like to now take down (decommission) the deployment. Is this something I can do through the Wasp CLI, or do I need to use the fly cli directly to do this? Any guidance would be greatly appreciated. Thanks!

CSP Header Issue with Railway Deployment - Need Help with blob: URLs

Hey Wasp team! I'm deploying to Railway using wasp deploy railway and running into a Content-Security-Policy issue. Problem: • When users drag/drop images into my canvas app, browser creates blob: URLs...

api error

im getting a cors error in the browser console. the api is for fetching blog posts. Access to fetch at 'http://localhost:3001/posts' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error service-worker.js:22 Uncaught (in promise) TypeError: Failed to fetch at service-worker.js:22:32Understand this error Access to fetch at 'http://localhost:3001/posts' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error service-worker.js:22 Uncaught (in promise) TypeError: Failed to fetch...

Where is the latest and greatest GCP Cloud Run steps?

Hi all. I see a bunch of guides on how to deploy to various providers like Heroku, Flyio, etc. However, I want to use GCP Cloud run, and I want to deploy to it using GitHub Actions. Where is the latest and greatest documetnation for deploying a wasp app to Cloud Run?...

Is wasp auth really a better alternative when compared with supabase or clerk auth ?

I am finally setting up auth and everyone is either using clerk or supabase for auth. Is there an advantage to using those platforms for auth or wasp auth is just good enough secure enough and stable enough ?

no datasource in schema and schema.prisma empty in .wasp

hi, I've been trying to get wasp to compile with just fresh starter projects or the saas template. However, for the last three days I have been running into the same error and it's driving me insane! I have tried: different version of wasp, of node; fresh installs of wasp and running wasp new; sqlite and postgresql. I have used wasp before and deployed using fly.io especially using version 0.16.0 and wanted to check out 0.18.0 before doing a migration. once again after starting the db by running "wasp start db" it runs using postgresql next when I run "wasp db migrate-dev" or "wasp compile" I get the following output:...

A cleaner web experience for this forum

Hey! I saw this forum uses AnswerOverflow to sync Discord threads to the web. I’m building Paladin, a smoother, cleaner alternative that makes Discord forums easier to browse on the web. It’s free to use and can run alongside AnswerOverflow, so you don’t have to switch anything to try it out. If it’s helpful, I can spin up a version of Paladin on your forum so you can see how it looks for your community. Is there anything about your current setup you’d like improved? I’d love to see if Paladin can help. 😀 Example Paladin preview attached...
No description

Connecting opensaas with Claude Code.

Every time claude code makes some changes, I have to run wasp start again and again to see what changes it actually made. It takes a while and honestly breaks the flow. Is there any better way where changes are instant and I wont have to run wasp db migrate-dev and wasp start 15 times in a day ? PS : I am a pure vibe coder. Before Ai, I could only code print hello world lol. Be kind...

How to make SEO tags different for different pages?

I am wondering how we can make the main.wasp file more context aware? I see my meta titles and descriptions are the same on all of my pages. I recognize we can't change that on a page by page basis, but is there a way to set certain pages to noindex so we aren't penalized for say our login, terms page, etc. having the same meta tags? wasp version is 0.18.0 Thank you!...

How to handle scheduled jobs in a load-balanced Wasp deployment?

Hi Wasp community! 👋 I'm deploying my Wasp application with load balancing using Nginx, and I have a question about scheduled jobs (using PgBoss). My setup:...

wasp deploy fly deploy fail

#14 259.7 npm notice #14 259.7 npm ERR! code ERR_SOCKET_TIMEOUT #14 259.7 npm ERR! network Socket timeout ...