Wasp-lang

W

Wasp-lang

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

Join

looking for help trying to wasp start - keep getting node:events:496[ Client!] throw er; // U

I keep getting this error - have the rest upon request. I've stackoverflow'd, googled my heart out, nothing seems to be working. Issue spawning powershell from mnt/c help is appreciated, thanks in advance...

Dynamic change in main.wasp routing.

Hi, I’ve a question about dynamically changing main.wasp. For example, when I create a new linktree page I should write the name that will be in the url. Like linktr.ee/canc -> /:canc? Is it possible to create dynamic route in main.wasp to work like this? If not, is there a thing i can do to handle this situation?...

opensaas favicon

hi, how do you change the favicon using opensaas? I’ve changed the file in static, but I think it doesn’t change the favicon too.

Getting off waspi

im terrified of vendor lock in. If i build an app with wasp and it generates the app via the wasp compiler or whatever, is it possible to just take that code and get off wasp? Im not against being on some platform but im scared of being completely controlled by the whims of a small OSS project.

how to start...

Okay, I've done wasp and opensaas.sh getting started. Now i'm just wondering where i have to start? It's a bit confusing to start with template, it has a lot of features that i don't need. Should I copy and paste every feature I need from it? Like auth, etc.. in main.wasp and every associated files?...

How to check if logged in on client/frontend?

Hi there, maybe this is a question with an obvious answer in the docs, if so then i am sorry. But I am currently wondering if there is a way / a function to check if you are currently logged in on the frontend?...

How to interact with database in prisma studio after deployment?

After deploying I set DATABASE_URL=<database_string> in main.wasp to try and see if i could interact with it like we could in development using wasp db studio,
i also tried export DATABASE_URL="<database_string>" npx prisma studio --schema=./.wasp/out/db/schema.prisma...
No description

Reorder predefined fields in auth forms

I am just wondering is there anyway to reorder the fields in the auth form? I have added in 2 new fields, first name and last name. And ideally i would like those to appear before the password field but at the moment it seems it can only go after them with the additonalFields prop

How to test the backend apis via postman

How to test the apis via postman or something similar

Stripe Webhook Server in production

Hi! How should set up Open-Saas on Fly.io to also have my Webhook Server running? Do I need to run another fly machine that is just for the webhook server? Or can I run it in my same Server instance?...

How to I set/import REACT_APP_SOME_VARIABLE_NAME for client side when in production on fly.io?

I use import.meta.env.REACT_APP_SOME_VARIABLE_NAME in my code base with setting client secret in fly.io dashboard but was not working. I also tried import.meta.env.REACT_APP_SOME_VARIABLE_NAME and process.env.REACT_APP_SOME_VARIABLE_NAME

seo and ssr

Hi team, just reading about how server side rendering are related. Next apps have good seo because of ssr. How does wasp or vite help with this or seo?

wasp db reset showing help instructions

I am trying to setup a seed function and thus wanted to reset my db. According to the docs: https://wasp-lang.dev/docs/data-model/backends#running-seed-functions I am supposed to run wasp db reset. Sadly this only triggers the help call: ``` MyApp% wasp db reset...

i am having issues installing wasp

i removed and reinstalled curl but i still get the error message in the image
No description

Need help deploying application to Fly.io

Hi! I am having some issues with deploying my app to fly.io. I am using the open-saas template and I have created a simple notes apps that I am trying to deploy. I keep getting an error regarding 'src/router.tsx' but when I search the files I cannot find a file by that name anywhere. Please attached images for error. If anyone has any ideas I would appreciate it. So far I tried finding the file but could not find it. I also tried updating wasp and updating react versions. I also googled the erro...
No description

How can I authenticate a user from a mobile app

I was wondering, if a user has been authenticated using wasp auth from the website, how can I authenticate that user from my mobile app? Is there any sort of API that I need to use for it? Sorry if my question is too noob. Web seems very vast and overwhelming, I am just looking for something easy. So far I have been using firebase to authenticate users and do the subscription through App Store. But I need to have a web authentication now...

live server not updating

hi all, using opensaas.sh repo with wasp. got everything working great but the only issue i have is my live server doesnt update, if I mess with files such as .wasp and or src/client files and go to save them the live server won't update. if i want to see changes i have to re-do 'wasp start' after closing my vscode out. anyway to fix this?

Older node version still needed?

howdy yall, working on some documentation for the wasp project we just got running as a demo. In the getting started docs it says we should use a specific older version of node, but that results in me having to constantly switch node versions when needing to use specific non-wasp commands. Wondering if this is still needed or if it should be fine to use most up to date node...

Why Vite, not Next ?

Hi team, just curious about this as I'm learning about full stack. Also, how do you make up for Next features not in Vite, with Wasp? One thing I know of is how Wasp handles routes. Love it. Anything else?...