Wasp

W

Wasp

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

Join

How do I access Prisma Studio for my Wasp app that I've deployed on Fly.io?

Hi all, like the title asks, how can I access the Prisma Studio to view / modify database records for a Wasp app that's been deployed to Fly.io?

payment not required for auth

@kapa.ai using opensaas template, everything is working but users can access the app without payment did i miss something in auth set up

error deploying using fly.io

29.21 npm ERR! In file included from ../libusb/libusb/os/linux_usbfs.c:26: 29.21 npm ERR! ../libusb/libusb/os/linux_usbfs.h:24:10: fatal error: linux/magic.h: No such file or directory 29.21 npm ERR! 24 | #include <linux/magic.h> 29.21 npm ERR! | ^~~~~~~ 29.21 npm ERR! compilation terminated....

Accessing request.body from api

Hey there, I would like to access the request.body from an api endpoint. I would like to know what should I wtite in the back end and as well in the main.wasp file in order to retrieve data from the request.body server side....

Server 500 response Timed out fetching a new connection from the connection pool.

2025-01-26T09:07:40.152 app[d890426c46e328] ams [info] POST /operations/get-tracked-product-stats 500 10027.476 ms - 148 2025-01-26T09:07:40.198 app[d890426c46e328] ams [info] PrismaClientKnownRequestError: 2025-01-26T09:07:40.198 app[d890426c46e328] ams [info] Invalid prisma.salesData.findMany() invocation:...

Integration with existing nextjs frontend

Hi everyone, Is it possible to integrate existing nextjs frontend code to opensaas. Any documentation?

npm build error when deploying to fly.io

i am running wasp deploy fly launch player1-app mia [server-builder 8/11] RUN npm install && cd .wasp/build/server && npm install:...

Using appleid for auth

I was wondering is there any support for using Apple for social auth or Facebook?

Can a user sign up confirmation be done with a 6 digit code (instead of only magic link)?

I ask this because some users may be signing up on their phone but their email is on their computer or vice versa. P.S. Thanks again for creating this! Best repo of the last 2 years IMO!...

What are best practices for tweaking caching for react-query through wasp?

Looking for a query usage example that includes caching

multiple client url

Does wasp support multiple frontend url for cors?

Issue with Google Redirect URL while migrating 0.12.4 -> 0.13.0

Hey folks! Decided to migrate my app according to this guide: https://wasp-lang.dev/docs/migration-guides/migrate-from-0-12-to-0-13#migrate-your-oauth-setup. Getting redirect_uri_mismatch, upon further inspection there's a flowName=GeneralOAuthFlow being added at the end of the callback URL which was not the case before. I'm using googleSignInUrl from the auth package Code:...
No description

Is it possible to get extra fields including joins returned from `useAuth`

I.e I want to request user org permissions, which is only available via a join

deploy only client with fly

How do I deploy only the client with fly.io? I already have the server and database setup with fly, but want to migrate the client from Netlify.

Where can I find a complete reference of the available options in main.wasp?

Specifically i'm looking to see if there's any cookie settings. This is my chatGPT question and it might be hallucinating but it's hard to tell https://chatgpt.com/share/67928d8d-eb2c-8012-97f3-9ef9c1f7a161...

Fly.io stopped deploying

Hi! I'm testing deployment of my Wasp app to Fly.io. It was working perfectly for a while, but stopped working. I'm not quite sure what to make of these logs, and could use some guidance. I'm not sure why it went from just magically working to not working. I've attached the logs of my deployment attempt....

The PostCSS plugin has moved to a separate package

Hi there, I've just started a fresh template following all instructions. After running wasp start and visiting localhost:3000 I get the following error. I've review stackoverflow and also tried a fix from perplextiy to no avail. Would appreciate any kind of assistance....
No description

Cannot apply unknown utility class

Hello Wasp version 0.15.2, trying to go through the getting started steps for the OpenSaaS template and I'm getting this error:
[plugin:vite:css] [postcss] Cannot apply unknown utility class: lg:h-[calc(100vh_-_5.625rem)]
[plugin:vite:css] [postcss] Cannot apply unknown utility class: lg:h-[calc(100vh_-_5.625rem)]
...
No description

CORS middleware wasp generate bug

Was having a CORS issue so I did what one of the guides said and added. `// main.wasp server: { setupFn: import setup from "@src/serverSetup",...

cant access server after deploying

@kapa.ai my app cant access the server after deploying to fly. the local environemnt works though
Next