Wasp

W

Wasp

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

Join

Migrate found failed migrations in the target database (Error: P3009)

I have a Wasp 0.15 web app deployed on Fly.io. After my latest deployment, the app crashed because some Prisma migrations couldn’t be applied. Now my Fly.io machine is in a stopped state, and I can’t access my app. I get this in the server logs: ...

Creating an on-prem product?

I'm looking to create a webapp that end users can deploy within their environments. this goal would seem to be a bit of an antipattern given the wealth of integrations ootb. Is anyone else working with wasp in this way?

React 19 support?

Im considering upgrading to react 19, curious if there is a paved road in wasp for that or if anyone has experience

SDK Build failing even after setting up DB commands

``` 🐝 --- Building SDK... ------------------------------------------------------------ [ Wasp !] npx: installed 1 in 0.775s...

WSL Install Errors: EISDIR & symlink

I'm encountering the same issue as this thread: https://discord.com/channels/686873244791210014/1132507430060826644/1132606906704339024 But I've tried the suggestions in the thread, and they didn't seem to work. I've tried ChatGPT to help trouble shoot, but it's not helping. So here's what I'm seeing and what I've tried. ...

Questions About Transitioning from Next.js to Wasp and Alternative Services for a SaaS Project

Hello, i never made a saas before but i have some experience with nextjs, i want to know how hard it is to transition from nextjs to wasp? Also can i switch the s3 amazon file handler to cloudflare r2 easly in the code? also open ai api to gemini api. I'm in a tight budget so i'm trying to find the best cheap alternative possible, thanks in advance and i'm sorry if i'm asking too many questions!

authRequired custom fn

Is it currently possible to define our custom auth checking functions? From my understanding we can use middleware for api endpoints, but pages/routes do not support functions/loaders/middlewares? The auth hooks also do not have any hook for checkUserAuth, meaning if I want to check current user for valid data before allowing him to access a route I am not able to? ...

Installing Wasp

This is my first time using Wasp or any similar programs. I am having some trouble installing it on my Windows OS. What should I do?

Invalid discriminator value. Expected 'development' | 'production'

Hey everyone I'm trying out wasp and sadhly on version: "^0.16.0" everytime i try to run a db seed following: https://wasp.sh/docs/data-model/backends#seeding-the-database I always get ❯ wasp db seed devSeedSimple...

Restarting language server constantly?

Hey all! Working with Wasp for the first time. I find myself having to restart the VSCode TS langauge server all the time because of the typegen. Is this pretty typical? Does anyone have an extension they use to force-restart on typegen?

Google Auth - merge identities

Hello! Is there a way to merge email/password identies with Google Auth? So if someone made an email/password account but they want to also login via Google Auth? I don't see any easy way to merge this without having the user delete their account and then make one via Google Auth or?...

Per-Path Middleware for actions/operations

I'd like to configure middleware for a set of actions + ops re these docs https://wasp.sh/docs/advanced/middleware-config#3-customize-per-path-middleware But it looks like a simple URL prefix check which seems to only apply on apis in wasp, not ops or actions....

How can I log the 'request-password-reset' email in the server console while using the Dummy sender?

Hi all, I'm working on a new Wasp project based on the OpenSaaS template, attempting to implement multi-tenancy. Part of this includes inviting new users, which if the email isn't associated with an account already, it creates an account for that email and sends an email with a link to the request-password-reset URL, instructing the user to change their password then log in. My question is, when a user account is created, the Dummy email sender outputs the email to the server console so that I can just click the link to activate it. However, when I submit the request-password-reset action, I don't see any way to see that resulting value. I assume it's some URL with a key value. How can I make that known? I can easily create new user accounts, but I have no way of testing the entire system until I can request password resets in development....

You need to enable JavaScript to run this app.

I get error: I get error: You need to enable JavaScript to run this app.

head

How do I add a script to the HEAD of an app?

Configuration Causing API Conflicts in Wasp Application

I am developing an application using Wasp version 0.16.0 and have encountered an issue with middleware configuration leading to conflicts between different API routes. Context: • Application Setup: The application includes multiple APIs, such as a payment webhook and an AI callback endpoint. • Middleware Configuration: Specific middleware functions are defined for each API to handle tasks like CORS settings and request parsing....

How to import enums from prisma?

I have an enum defined in my prisma file, but import { User , OrganizationUserRole} from 'wasp/entities'; isn't working

Does datePaid in the DB get popuplated with the payment date OOTB with opensaas?

Is the functionality to update the datePaid in the DB already build into opensaas or does it need to be added? If its already set up, what format is datePaid in?...

Error when I installed puppeteer and turndown

The client doesn't start when I installed "puppeteer": "^24.2.0", and "turndown": "^7.2.0",. I think it's because of the sub dependency. agent-base and proxy-agent.
No description

fix UI

I connected to keycloak, now I want to handle login page of keycloak, can I?