Wasp

W

Wasp

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

Join

I've had the env vars validation fail

I've had this failure happen to me twice now with seemingly unrelated code. I looked in my server files and don't see any imports from wasp/client (from here: https://discord.com/channels/686873244791210014/1402311673993367632) ``` [ Server!] %s [ Server!] ══ Env vars validation failed ══...

Argon2 deployment issue on macOS ARM → Alpine Linux

Hi! I'm facing a deployment issue after developing on macOS ARM (Apple Silicon, M1). My app crashes on startup with: Error: Cannot find module './argon2.linux-x64-musl.node...

Getting a build error when building frontend

I'm getting the below error when doing npm run build on my .wasp/build/web-app/ path. failed to load config from <path>/app/.wasp/build/web-app/vite.config.ts error during build: Error: Cannot find module @rollup/rollup-darwin-arm64. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try npm i again after removing both package-lock.json and node_modules directory....

Email from the team

I recently received an email from Matija Tolic and would like to know if this person is really part of the team, because the requested email data such as full name, phone number and address, this email procedure is official from the wasp team to the swag pack?

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?