Wasp

W

Wasp

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

Join

RollupError: Invalid value for option "output.file"

` Server ] [ Server ] > server@0.0.0 bundle [ Server ] > rollup --config --silent [ Server ] ✅ --- Successfully completed npm install. ----------------------------------------...

Stripe subscription price change

I have a Basic and a Premium product and both of them have Monthly and Annual pricing structures following the Good-Better-Best methodology. Let's say due to increasing costs, I want to raise the price of my Basic Monthly plan by $5 for all subscribers. How can I increase the price of the subscription, and begin charging all current and new subscribers that higher price? From what I understand, Stripe pricing is immutable, but this is not an uncommon thing in the subscription industry. Example, Netflix increased its pricing for everyone earlier this year. '...

Authentication

I am working with open saas template. 1) Not authenticated after login. 2) All protected API requests failed with 401. 3) The login flow is not setting a session cookie. 4) Unable to collect data with forms. HELP.

Checking for an empty array as a column in a row

I have a schema with a column called "creators" which is an array. I want to only return rows that have >0 items in the array ``` const result = await context.entities.MyEntityTable.findMany({ where: { id: { in: inputString.split(',').map((id: string) => +id) }, creators: {...

PG Boss Concurrent Jobs

Hi everyone 👋 I’m using Pg-Boss jobs in Wasp (0.16.x). Right now only one contentGenerationJob runs at a time, even when multiple users queue drafts. ...

How to do VibeCode for Open-SaaS

I want to connect/import open saas project in Bolt or any AI ide I want some guidance on what Docs or pdf should we upload so that the AI can understand what we are using which technology

WebSocket connection to 'wss://www.hatchmo.com/?token=cyXEuSJHPtqZ' failed: Error during WebSocket h

WebSocket connection to 'wss://www.<domain>.com/?token=cyXEuSJHPtqZ' failed: Error during WebSocket handshake: Unexpected response code: 200 createConnection @ client:802...

Custom authentication using phone numbers rather than email

Hello, I'd like to create custom authentication using phone numbers instead of emails where the user would simply get an OTP message to sign-up and sign-in. No need for passwords. Would this be possible? I understand this is generally out of the project's scope but any general guidance on how I would approach this would be really awesome....

Custom Emails and Auth Handling

I'm trying to create a door to door sales flow that creates a customer's account in the app, and then sends them a welcome email with a link to create their password. Does Wasp expose any internal methods to create password reset tokens that I can use in my own custom email sending logic? I don't want to rely on the Password Reset Request flow because it sends an email for Password Reset. Which is not the goal in this case.

Reset db

Is it possible to reset db on deployed fly io app?

auth problem while setting up a socket

I'm looking to set up a socket for notifications.. I'm attempting to use the wasp documetation (0.15) and I'm getting an auth error , I'm unable to ``` webSocket: {...

Organization users & Roles/Permissions

Find all relevant information about Organization users & Roles/Permissions

Problem building Dockerfile

Dockerfile Wasp generates contains this line:
EXPOSE ${PORT}
This is not defined as a build arg, so how can I set it? When I try to just build the image with podman build . I get this error:
Error: building at STEP "EXPOSE ${PORT}": EXPOSE requires at least one argument...

wasp-bin: script: streamingProcess: exec: invalid argument (Bad file descriptor) on wasp db migrate

Im getting this error after running wasp db migrate-dev on a project. Wasp Version: 0.16.6 node: v20.19.2. I have run wasp clean, deleted and reinstalled both node and wasp. It seems to happen across all wasp projects i create.

@sendgrid version

Which version of @SendGrid works best with Wasp version 0.16.5?

FLY WASP_SERVER_URL

so WASP_WEB_CLIENT_URL is my new website like testwebsite.com and WASP_SERVER_URL is my server? so testwebsite-server.client.dev ? How does the api get resolved? not understanding that I can
curl-X POST https://www.test.io/webhooks/ses/incoming \ -H "Content-Type: application/json" \ -d '{"Type": "SubscriptionConfirmation", "SubscribeURL": "https://httpbin.org/status/200"}'
curl-X POST https://www.test.io/webhooks/ses/incoming \ -H "Content-Type: application/json" \ -d '{"Type": "SubscriptionConfirmation", "SubscribeURL": "https://httpbin.org/status/200"}'
This always fails but ``` curl -X POST https://test-server.fly.dev/webhooks/ses/incoming -H "Content-Type: application/json" -d '{"Type": "SubscriptionConfirmation", "SubscribeURL": "https://httpbin.org/status/200"}' ...

wasp deploy

getting the same error after another deploy. it says port is not connecting at 8080. i cant find whats wrong. @kapa.ai

http://localhost:3001/auth/google/callback Google Auth

Ah, I've been developing an app doing other things with Google Auth, I need to understand how why is it normally
http://localhost:3001/auth/google/callback
http://localhost:3001/auth/google/callback
for google Auth, why not 3000? is /auth/google/callback a reserved route? I think so...

Node module doubling

I'm having problems during deploy, some about duplicates: Types have separate declarations of a private property 'queryCache' src/index.tsx(25,28): error TS2322: Type 'import("/root/Clever2/app/node_modules/@tanstack/query-core/build/lib/queryClient").QueryClient' is not assignable to type 'import("/root/Clever2/app/.wasp/build/web-app/node_modules/@tanstack/query-core/build/lib/queryClient").QueryClient'.\n + " Types have separate declarations of a private property 'queryCache'.\n" ...

Tailwind not working properly

I'm getting this error when I try to run my Wasp app after enabling Tailwind following the docs:
[plugin:vite:css] [postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.
[plugin:vite:css] [postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.
...
No description