Railway deploy server code fails with ENOENT error, following opensaas and wasp lang docs
I am getting this error when deploying to Railway by following 16.0 docs:
✔ Generated Prisma Client (v5.19.1) to ./../../../node_modules/@prisma/client in 295ms
Start by importing your Prisma Client (See: http://pris.ly/d/importing-client)...
Best way of working out what's causing a 500 in production
I'm currently getting 500 errors in prod when trying to connect to my database, but the logs are a bit unclear on both server and db about what the cause might be. As far as I'm aware, I haven't changed anything
database error - could not proxy TCP data to/from instance: failed to copy (direction=client->server, op=shutdown_write, error=Transport endpoint is not connected (os error 107))
Server error - 'Error: Connection terminated unexpectedly (Queue: emailChecker, Worker: c2de9f26-4ef5-42ec-b126-775a53c4ae54)\n...
Multi-file Prisma
I would like to implement multi-file prisma. In a nutshell, instead of having all your models in 1 file, you can split it up.
I was wondering how I could implement it in my wasp.
Here is the official documentation:
https://www.prisma.io/docs/orm/prisma-schema/overview/location...
Docker and MacOS
I'm trying to create a Wasp project, but it always fails on the Docker part.
I always get the error
"❌ --- [Error] Couldn't find
docker
executable: ---------------------------------
...Seo optimization
Right now my site scores 64/100 on SEO. Anyone any tips on how to make my saas pop up at high places for certain keywords?
What a seo checker gave:
To address URL canonicalization issues, it is recommended to select a primary URL for your webpage and set up redirects from all other variations to the preferred one.
...
additionalFields above in SignupForm
``` <SignupForm
additionalFields={[
{
name: "displayName",
label: "displayName",...

AI tool for generating full stack wasp code
Hi everyone, loved the framework. Could you please recommend best AI tool to write full stack code for wasp applications?
Deployed wrong database
I have an unusual problem. I have two Wasp apps on Railway and somehow, I've deployed the server component of the one app to the server container of the other app. Now, I have the wrong databases in Postgres on Railway. The user table is still correct. This is not a huge problem since there are no active users at the moment but I'm wondering how I can deploy the right database tables again.
Just deploying the server component as usual didn't work. The build goes through but the tables remain the same....
Can't install wasp on WIndows
Hi, very newbie question here. I'm trying to install Wasp for the first time but when executing the curl command
curl -sSL https://get.wasp.sh/installer.sh | sh
i got this error message
Sorry, this installer does not support your operating system: MINGW64_NT-10.0-22631.
...
I'm getting this error when deploying my server to Railway
file:///app/.wasp/build/server/bundle/server.js:12
import cheerio from 'cheerio';
^^^^^^^^^^^^^^^^
SyntaxError: The requested module 'cheerio' does not provide an export named 'default'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:122:21)...
When deploying to Railway, I'm getting this error:
89 migrations found in prisma/migrations
Error: P3009
migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve...
Wasp TypeScript configuration - Split Wasp file
I remember having seen in some thread that with the Typescript config you can split the main.wasp into several.
I can't find it,
Give the COMPLETE steps 1 by 1....
How to refresh table data after deleting a record in Wasp?
Hey! I'm using Wasp with a table UI that lists records from a query. When I delete a record via a button in the table, the record is removed from the database, but the table UI doesn't update automatically. What’s the recommended way to ensure the table reflects the updated data after deletion?
I'm using the default query (e.g. getTasks) and deleteTask action. Should I manually invalidate the query with React Query's queryClient.invalidateQueries, or is there a more idiomatic way to handle this in Wasp? Perhaps there is something wrong with the entities I defined in main.wasp?...
Accidentally cooked my db, start fresh from latest migration?
Hi all, I accidentally cooked my db again lmao, oops..
I had some migrations testing some stuff out, but accidentally really messed it up and deleted migration files by reverting with git, blah blah blah, here I am now, I THOUGHT I fixed it by running "wasp db reset" and doing a new "wasp db migrate-dev", but after changing the schema.prisma again and running "wasp db migrate-dev" again, it was saying:
...
Could not find the migration file at /srv/web/shelter/app/.wasp/out/db/migrations/20250414202957_video_migration/migration.sql. Please delete the directory or restore the migration file.
Could not find the migration file at /srv/web/shelter/app/.wasp/out/db/migrations/20250414202957_video_migration/migration.sql. Please delete the directory or restore the migration file.
Puppeteer error
I get this error when I try to run my action with puppeteer code:
Error: Could not find Chrome (ver. 135.0.7049.84). This can occur if either..
Already ran "npx puppeteer browsers install chrome"
In another node.js project I have the code working, but not in my wasp project....
How can I implement "live" UI updates based server-side results.
I have a setup in my WASP project where a user clicks a button, and my app sends data from the WASP server to a separate Node endpoint. Each request includes a JobID (representing the batch) and multiple subtaskIDs (mapped to individual database entities).
I’ve set up a webhook in my WASP app to receive results from the Node server. The webhook invokes various server actions to updates the DB accordingly and tracks the status of the JobID and each subtaskID.
Now, I want certain components in the UI (the ones initiating the batch) to subscribe to these updates, ideally in realtime so that I can reflect the status/result of each subtaskID as it completes, without needing to refresh or rerender the entire page....
Changing favicon for OpenSaaS blog
How do I change the favicon for the Astro blog in the OpenSaaS template?
production stripe webhook secret
Should the stripe webhook secret (STRIPE_WEBHOOK_SECRET) change for production? Test stripe webhook worked but when testing outside of testmode in production app doesnt seem to be able to detect webhook once payment goes through