Client build failed. Error: Cannot find module @rollup/rollup-darwin-arm64.
wasp version 0.16.5
MacOS M3
I am trying to deploy my app via Railway. I am able to deploy server. But facing problem when building client /web-app.
...
Testing End Points
@kapa.ai - what is the best practise for testing custom end points? I understand that the frontend and backend are on different end-points, but is it literally just curl requests or postman?
@kapa.ai
I'm having some issues with Prisma Studio and the error message seems pretty generic.
Message: Error in Prisma Client request:
...
Extra fields in sign up
I'm trying to add
fullname
as a data property when a user signs up. I have the following code:
```js
const emailDataSchema = z.object({
email: z.string(),
fullname: z.string(),...querycache issue
tsc --build && vite build
src/index.tsx(28,28): error TS2322: Type 'import("/Users/jacobferrari/wasupupdate/my-saas/app/node_modules/@tanstack/query-core/build/lib/queryClient").QueryClient' is not assignable to type 'import("/Users/jacobferrari/wasupupdate/my-saas/app/.wasp/build/web-app/node_modules/@tanstack/query-core/build/lib/queryClient").QueryClient'.
Types have separate declarations of a private property 'queryCache'.
/Users/jacobferrari/.local/share/wasp-lang/0.16.4/data/packages/deploy/node_modules/zx/build/core.cjs:416...
I think my wasp build dockerfile node 20 is overriding my github actions node version
This hasnt happened before, but in my github action for deploying to fly i set node to 22.0.0.
But i think my wasp build docker file which shows node as 20.0.0 is overriding that.
This is causing an error for sharp because it needs node 22.0.0....
Refresh Token
im using to generate sessionId :
...
const session = await createSession(user.auth.id);
const session = await createSession(user.auth.id);
cron job every minute
Hey, I accidentally deployed a job with a cron schedule * * * * * (every minute). The job takes longer than a minute to complete, so multiple overlapping executions built up over time. I have since updated the schedule to 0 4 * * *, but I still see the job executing repeatedly as if it's still catching up or stuck in a loop. Is there some queue backlog or pending jobs that PgBoss / Wasp keeps trying to process even after changing the schedule? How can I fully reset or clear these queued jobs so...
JWT_SECRET Purpose
Hey all we’re primarily using AWS Cognito for auth, and noticed JWT_SECRET is still a required env var in Wasp. Since Cognito is handling all the auth flows like email verification and password resets, we’re not using this var ourselves.
Is JWT_SECRET actually needed in this case, and can we override the Zod schema to skip the check?...
Stripe Product Integration
I have set up all the stripe variables into .env.server but I still dont know how OpenSaaS pulls the products so the user can purchase a subscription.
What is the process for a user to purchase a Stripe product and then getting it assigned to them?...
forwardRef issues with SHADCN-admin
I've recently watched a video of WASPs and love the SHADCN-admin that was being used I have systematically tried to add it to my app, but I run into forwardRef issues. All the reading I'm doing is saying WASP doesn't support this and I need to create my own wrapper and or ask the WASP team if this is in the pipeline for support?
Refresh interval for useQuery
I am using wasp version 0.16.6.
I would like to set refresh interval for useQuery to 5 seconds (so it refresh content of a page every 5 seconds). But I am not sure how to pass arguments to useQuery function. You can show me on this official example: https://wasp.sh/docs/tutorial/queries#invoking-the-query-on-the-frontend
So this line needs to be updated with refresh interval somehow:
const { data: tasks, isLoading, error } = useQuery(getTasks)
...Admin Created Users
I need the Admins to be able to create users which would trigger an email confirmation.
I also dont want the users to be able to create their own account.
How can I do this please?...
Auth and Email Sending Issues
I'm using Wasp's built-in auth system, but when my user signs up using email and password, sometimes they cannot receive a verification email and therefore cannot signup.
- I'm using Mailgun as the email provider
- In most cases, they are using outlook and I've already seen many complains about the email deliverability when sending to outlook addresses since outlook rejects many emails (not even showing them in spam) if you are using a new domain.
Therefore, I'm wondering:...
verification link
Deployment webapp is providing verification links using the original .fly.dev URL that fly.io provides rather than my assigned url (e.g. mywebsite.com) - despite mywebsite.com working everywhere else.
How do i change it so the email verification links start with mywebsite.com rather than the .fly.dev URL?
It's not the biggest problem in the world but it is exposing the uglier fly.dev URL to users and it makes CORS more complex....
useLocation
Hi team, I'm trying to adapt my opensaas app to use SAHDCN-admin (which is not a wasp first code base) so there are places that we need to ensure the routes etc adhere to wasp standards and best practices.
When I ask Claude for some best approaches it says the following:
// Before (from shadcn-admin)
import { useLocation } from 'react-router-dom';...
How to externalize the socket.io server?
I saw a previous post by someone that asked a similar question about externalizing the socket server.
I've already open up the CORS setting on my server so that any client can send their requests. The thing is that using my postman debugger on the following uri doesn't give too much information:
ws://localhost:3001...
