Wasp

W

Wasp

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

Join

custom http api

can you call a custom api from the server side in an action?

emailSender.send erroring 404 page not found

When I call emailSender.send(), I get the MailgunAPIError error 404 page not found. The Mailgun variables (MAILGUN_DOMAIN, MAILGUN_API_KEY) are setup correctly in .env.server. The following code works fine (it sends the email with no issues): `import Mailgun from "mailgun.js";...

EMAIL variables SMPT same in production and development but on production it doesn't send email

EMAIL variables SMPT same in production and development but on production it doesn't send email

Failed to load user data

I'm a NOOB to Wasp and not a developer. I ran these commands... šŸ --- Listening for file changes... ----------------------------------------------...
No description

Just discoverd wasp

Looking for a setup guide for Windows environment. Technical user but total noob at modern web development.

google authCannot GET /auth/google/login

I'm trying to use the google authentification, I am getting this error on my app, Cannot GET /auth/google/login Should add a page with this path /auth/google/login ? i have already the login on domaine/login...

usequery wasp on success

usequery wasp on success

I get an error when creating externally facing APIs.

api healthCheck { fn: import { healthCheck } from "@src/server/health", httpRoute: (GET, "/health")} When running the above api declaration on my main.wasp, it should create the API types when 'wasp start' is running. However, in the func the import type, i get the error that Module '"wasp/server/api"' has no exported member 'HealthCheck'.ts(2305) on the import type in my logical function. I'm not sure if this is a bug or if i'm doing types wrongly....

Getting "An unknown error occurred while trying to log in with the OAuth provider." on deployed app

Logs attached. I have my JTW set on both my client and server env. Deployed on railway using a custom domain on my server since google redirect URI didn't like the railway domain.

I have added a enviroment variable REACT_THUMBNAIL_URL_PREFIX in .env.client file but i can't use it

I have added a enviroment variable REACT_THUMBNAIL_URL_PREFIX in .env.client file but i can't use it . I have tried import.meta.env.REACT_THUMBNAIL_URL_PREFIX

About Prisma's preview features

Which of Prisma's preview features does Wasp currently support?

how do i seed my database

I've exposed my database on port 5432, i've also set the DATABASE_URL in the env.server file. Running wasp db seed returns this error: āŒ --- [Error] Can not connect to database: --------------------------------------- The database needs to be running in order to execute this command. You can easily start a managed dev database with wasp start db....

Production Build Issue After Upgrading to WASP 0.17.1

After upgrading to WASP 0.17.1, I'm experiencing issues starting my application in production environment. Th the server build fails. When running the production build, I get the following error during the npm run bundle command: ```bash...

Railway template

I saw you guys just posted a railway template but I can't find it on Railway templates, how do I deploy straight from the template as shown in the video?

run prisma studio on coolify database

Has anyone successfully ran prisma studio on a coolify self hosted server that could help walk me through it?

Layout

I would like to remove this constraint but not sure how to safely remove it. I have this screen but it seems that it is constrained to a container and I'm unable to utilize the whole screen. See screenshot and highlights. What do I need to overwrite so I can utilize max width and height....
No description

How long do email verification tokens take to expire?

user getting "Email verification failed, invalid token" after like two hours?

Transfer Stripe Subscriptions

Right now I am working on an app for a non-profit that I volunteer for. Right now, they use 'Join It' to manage the memberships. This is essentially a stripe wrapper, so the durations/payment are all through our stripe account. Is there a best practice to migrate users from one platform to another, keeping stripe as the source of truth? How do I get these users and connections into our database?...

Migration Issue from 0.16 to 0.17.1 - TypeScript Errors (OpenSaaS)

Hi everyone! šŸ‘‹ I'm having some issues migrating my OpenSaaS project from WASP 0.16 to 0.17.1. After following the migration guide, I'm getting these TypeScript errors when trying to start the app: ``` [ Wasp ] core/auth.ts(17,7): error TS2742: The inferred type of 'auth' cannot be named without a reference to 'express/node_modules/@types/express-serve-static-core'. This is likely not portable. A type annotation is necessary....

I want to create an env variable called supabase_url how can i create it and use it in front end

I want to create an env variable called supabase_url how can i create it and use it in front end
Next