Wasp

W

Wasp

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

Join

Should migration.sql files be checked in to git?

I'm not sure if these should be ignored or checked in.

Refresh problem

another new person question: Wasp doesn't appear to be re-compiling when I make changes to frontend source. Still following the ToDo App tutorial and I just replaced the entire contents of MainPage.tsx to go from a single <p>Hello world!</p> element to rendering a list of tasks, but my terminal where wasp start is running never changed and refreshing the page doesn't show my list. If I kill the wasp process and do wasp start again, everything is fine. I do see in the terminal output that nodemon is watching these extensions: ts,mts,js,mjs,json but not tsx (and also jsx). Could that be causing this or do I need to look at something else?...

Change tab title to what page user is on

how do i change tab title to what page the user is on? for example "SaaS - Dasboard"

How did you get the name "Wasp"?

I'm intrigued! Wasp seems intriguing. Like, we have Deno, Node, Bun, Astro, Next, Nuxt, Svelte, etc. What does Wasp stand for or originate from? I'd love to learn

Experience setting up wasp on an ARM-based laptop?

Hello! Just wondering if anyone has any experience setting up wasp on an arm-based laptop since I'm running into some troubles:) ``` ruben@Papillion:~$ wasp --version /home/ruben/.local/bin/wasp: 2: /home/ruben/.local/share/wasp-lang/0.16.2/wasp-bin: Exec format error...

Is it possible to configure Wasp to use a different package manager?

Wasp uses npm when creating a new project (I just made my first one following the Quick Start page) and I was wondering if it is possible to use yarn instead?

How can I prevent google login to automatically login with the latest chosen account?

I would like to have the option to choose which google account to sign in/up with

How to use wasp cli with a built project on a prod server?

Hi! I'm trying to release my first project with WASP on a staging server. I would like to understand how I can use the wasp cli with a built project. The idea is to be able to use the "wasp db" features mainly, such as the ability to seed or access "wasp db studio" even if it is not a recommended practice in production....

Security checklist with wasp

Hi, I've been building with wasp for the last 3-ish months. As launching is coming closer I'm becoming more and more concerned with security. Some steps I've taken are making sure npm audit reads 0 vulnerabilities, making sure backend functions only take/return/update what is needed, etc. ...

šŸš€ EXPO + WASP: Help integrating mobile frontend with backend authentication! šŸ”

Hello world! I would like to develop a mobile frontend with EXPO and integrate it with the backend written with WASP. However, I have no idea how to use the authentication part (email and social) of WASP. Does anyone have any advice/guides on how I could proceed? Thank you!...

I want to test stripe payment in development env

I am using wasp opensaas, now i messed around a bit with my env vars and forgot which are productoin and which env, i want to test my payment system on the development mode. What variables and things do i need to check and change to test it?

script in head

I have this section in my main.wasp file: "head: [
"<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width" />", "<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />", "<link rel="icon" href="/favicon.ico" type="image/x-icon" />", "<script src='https://js.stripe.com/v3/' />",...

Testing dockerfile locally

After running wasp build on opensaas, how can I run the docker containers locally? what are the parameters/arguments needed when building the dockerfile and running the containers on my machine (Ubuntu via WSL)?

Does anyone have step-by-step instructions on implementing PostHog in Wasp by any chance?

Hoping to bypass my usual slog through figuring out a new integration šŸ˜…

[ Wasp ] core/auth.ts(17,7): error TS2742

I already did a wasp clean and wasp start. Last night worked fine, this morning is not compiling:be: : Why the error is in a compiled app file (.wasp/)...

Make a new price in strpie

I made a few prices for my stripe subscriptoin plans but i want to adapt them, however some of them have been used so i have to make a new price. What do i need to change in order to succesfully make a new price and use it on my saas.

I have npm vulnerabilities when i cloned my project again

How can i get ride of those vulnerabilities? npm audit doesn't work

Is it possible to create custom user roles with the current wasp auth? Such as non-admin staff

is it possible to create custom user roles without circumventing wasp auth? For example, would it be possible to create staff accounts that aren't admin but can view pages that noraml users can't? Am I overcomplicating this?...

Do client secrets have to be included in every redeploy or only for the first one?

It looks to me as if it's required to add the REACT_APP_STRIPE_CUSTOMER_PORTAL... before the wasp deploy fly deploy command every single time when redeploying. Have I misconfigured something or this this intentional? If it is meant to be like this, wouldn't it be much more convenient if the deploy command would grab that secret from env.client automatically?...

how to downgrade from wasp version?

Hi, how do i downgrade to an older version of wasp? It says for me: Wasp requires package "react-router-dom" to be version "^6.26.2" in package.json.
Next