Wasp

W

Wasp

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

Join

Stripe Webhook not firing when relevant events fire

I am trying to use the standard OpenSaaS implementation and have noticed that the stripe webhook does not fire at all even when the events are happening (I am testing it locally) - I've tried both just having it running and manually triggering the events and manually firing the events via the command line, but the stripe webhook doesn't run at all. I've added my STRIPE_WEBHOOK_SECRET to my env variables.

What's the easiest way to add a live chat script?

I'm wondering what's the easiest way to provide a live chat via an external JS script across all of my app pages? Do I have to include it in App.tsx? 🙂

Deployed Server and Client appear "Disconnected"

I am deploying via the Wasp CLI with fly.io, and after trying to debug some unrelated deployment issues I now have a problem where it appears the client cannot connect to the database at all. The initial auth request is hanging and nothing involving the database works at all. I can see via listing the secrets that all the environment variables are correct (or at least present) on the server. Additionally, everything I try locally all works so I am unable to debug it locally. Looking at fly.io's dashboard, the server seems to be online and successfully receiving releases. I can also connect to it via the command line. Are there any steps I can take to figure out what's going on? I currently don't have a database backup so I'd like to avoid totally re-launching my app if possible....

How to change how user is added to database.

Im using WASP SAAS template however i'm trying to change how a user is put into the database. I made a new table called person, and i'm trying to create this first and then attach it to the user as a foreign key.

How do I fix this db error

how do i fix this error [ Server!] error: database "OpenSaaS-cd8dfa8fd6" does not exist [ Server!] at /Users/haarismian/Development/Wisement/wisement/app/node_modules/pg-pool/index.js:45:11 [ Server!] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)...

Issues with deploying to baremetal

The Wasp application is deployed, but all requests (including static assets) are being caught by the catch-all route, resulting in a "{"message":"Catch-all route"}" response. - Apache is configured as a reverse proxy. - Node.js server (Wasp backend) is running on port 5555. - Static files are present in the correct build directory....

Cursor AI + Open SaaS

I’m a Java backend developer and I enjoy building SaaS applications as a side project. I recently found this amazing template and the WASP project in general and I’m curious about using Cursor AI with WASP effectively. I’m not an expert in React, therefore I often rely on Cursor AI to write and understand code. I’ve tried integrating it, but sometimes encounter errors when working with the context of WASP. Before investing more time in configuring it correctly, I wanted to ask if anyone here has experience using Cursor AI with WASP and could share some tips or examples. Thanks in advance!...

Error: failed to fetch an image or build from source: error building: failed to solve: failed to com

Im getting this error while deploying opensaas with fly.io. How can I fix it ?

Replacing Wasp's Auth UI, while keeping the functionality

Hey, I want to replace Wasp's Auth UI with my own UI for Auth. I'm using email auth, so I want to replace the Signup Page, Login Page, Password Reset Page, Email Verification Page, etc. However, I want to keep the entire functionality that Wasp has built in with email auth. How can I best do this? Also I want to have additional signup fields present in my signup form. Can anyone help me on how best to do this?...

Accidentally deleted database url from production environment while debugging - how to proceed

I have been debugging an issue and inadvertadly deleted my database url from my production environment whilst debugging a different issue. What's the best way of retireiving it?

Ios abb subscription and login auth

How would I make a user authorized to use an ios app if they have a certain subscription? Also how would I do this with login....

Strugle with Dark/Light mode (AI-Created React components)

Hi! I'm using chatgpt/claude to create the React (using Tailwind) pages. In this case I have a custom project with ALL files from Wasp Docs: https://wasp-lang.dev/docs But as you can see, when I switch theme. Some things are incorrect (in terms of style). I'm doing something wrong promting my AI?...
No description

Problem running npx shadcn-ui@latest init in WSL Terminal

I'm following this guide to set up OpenSaas in the template/app directory using Wasp and WSL (Windows Subsystem for Linux) as per this guide https://docs.opensaas.sh/start/getting-started/. I'm trying to integrate ShadCN following this: https://gist.github.com/infomiho/b35e9366e16913949e13eaba0538f553 I've followed everything as per the instructions(left the existing tailwindcss files intact), but when I try to run: ...

Issue deploying with secrets

wasp deploy fly deploy cmd --context server secrets set $SECRETS This is giving me an error - error: unknown option '--context' The secrets are correct for sure - I am following this guide https://wasp-lang.dev/docs/advanced/deployment/cli...

How do I connect to the postgres db deployed on fly?

I deployed my aspp using wasp deploy fly deploy and i want to see the data in the db, how can I do that?

Passwordless Authentication

I saw a a post asking whether wasp supported passworldess authentication in March and it wasn't supported at the time. Has anything changed since then and if not does anyone have any good ideas as to how I can add the passwordless auth in myself and have it seamlessly integrate with wasp?

Apollo GraphQL

Hello How can I use Apollo in Wasp? ``` import React from 'react';...

Is vitest compatible with wasp (vite)?

During vitest install I keep getting following error: ``` [ Wasp !] npm warn ERESOLVE overriding peer dependency [ Wasp !] npm warn While resolving: @vitest/[email protected]...

Stripe and Multiple saas

Hello guys. I have one question. For the guys who know the answer specially those who have launched multiple saas. I am about to launch my second saas and I was wondering about the stripe part. Do I have to create a whole different account or within the account I have there is a way of creating something like organization??? I was reading the docs and some post from people with same question but somehow none of the answers make sense for me. So I decided to ask here, maybe some that have face it could share the experience and the process would be more straightforward for me....

is there a way to hard restart the app? if i change an api file need to restart manually

if i change a backend or api file wasp wants me to go manually restart, anyway around this requirement? can i set up my own nodemon?