Wasp-lang

W

Wasp-lang

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

Join

WASP on windows WSL2 / arm64 - issue getting wasp start error

i'm trying to get a new project running on windows wsl2 - but in arm64. My wsl2 seems to be running fine, but wasp version or wasp start are throwing me: "qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory" - any linux / wasp gurus able to advise on how to resolve this?...

Actions.ts doesn't have hot reload?

My actions file isn't reloading. The frontend stuff reloads but my actions file doesn't when I make a change, and I have to manually restart server.

Dependency issue with fly.io server deploy

Hello everyone đź‘‹ , I followed the instruction and deployed SaaS template with wasp deploy fly launch <project-name> iad
client and database were created with no issues but server returns attached error message. ...

How to change the language of authentication forms?

I have noticed, that nowhere in the entire repository the lines like “Create a new account”, “Log in to your account”, “Forgot your password?” Show up. Where are they set and how can they be altered to change them to another language?...

Issues deploying to fly (server + client specifically)

Hi team, just having a few issues attempting to deploy onto fly - the database has gone up totally fine, but the client and server are stuck on "pending". I've tried to redeploy by adding the db connection string to my server env file, but still getting this error Your server app does not have a DATABASE_URL secret set. Perhaps you need to create or attach your database? And both client + server are stuck on pending after several hours...

Stripe working in production but user credits don't update

Hi guys, Today I tried to make a payment on my SaaS https://www.fueltrackerapp.com and everything worked fine except for one thing, the user credits didn't update! I'm not so sure what's happening because in dev mode everything works fine. Anybody knows what could be happening?...

Help me create a new wasp project

Give me step by step guide to implement the following project description `Description Creating a real-time multi-user collaboration todo list application involves integrating features that allow multiple users to work together on tasks simultaneously Key Features ...

Sub page-level auth

So, checking the docs, seems like auth is enabled on a page level. If auth is enabled for a page, not-logged-in people can not access any functionality of the page. What if i want some select functionality to be available even to public, and some others to only logged in, in the same page?

Issues after fly.io deployment

Hello! I followed the instructions to deploy on fly.io, and after I did it, plenty of errors appeared in my VScode files for the project, and they're all about missing modules. I guess the deployment moved or removed some files somehow, but then how do I test locally before deploying if I can't because of many missing modules?...

rollup causing initiating error

I am getting this error upon attempting to wasp start a fresh project:
[ Wasp ] tsconfig.json(2,14): error TS6053: File '@tsconfig/node18/tsconfig.json' not found. [ Wasp ] ../../../../node_modules/vitest/node_modules/vite/dist/node/index.d.ts(5,41): error TS2307: Cannot find module 'rollup/parseAst' or its corresponding type declarations. [ Wasp ] There are types at '/home/hildrobby/MyApp/node_modules/vitest/node_modules/rollup/dist/parseAst.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'....

Adding Chat message persistency

Hello everyone, first of all, thank you for the open source project, it's very good! I'm trying to build some sort of personal assistant and for that I'd need the chat history to be saved somehow, but I can't manage for some reason, I tried with ChatGPT but I'm getting some import functions errors. Did anyone do this already and could help me with creating this chat history persistency logic?...

I am getting a 404 with a custom api when using a parameter

this is my wasp api api getPexels { httpRoute: (GET, "/api/get-pexels/:query"), fn: import { getPexels } from "@src/server/pexels.js", }...

Add Dependencies to wasp project

I tried to run "npm install -D @headlessui/react @heroicons/react" But this broke the wasp project, now it route directly to the directory listing. Does anyone know how to correctly include dependencies in a wasp project? Thank you very much!
No description

use auth when requesting a custom api without the api wrapper

Hello ! I'm having a small trouble, I've seen the example here to implement streaming capabilities. https://github.com/wasp-lang/wasp/tree/main/examples/streaming/src/client...

How can I create an onboarding flow where forms the user fills are saved to their account

How can I create an onboarding flow where I ask users questions and save their answers in the database, for use later? For example I ask them their favorite colour and I want to show it to them alter.

should an external api call to get photos be a query or an action or custom api

should an external api call for a get request to see photos be a query or an action or custom api

How to add custom Sign up field that refers another entity

I am trying to create a custom sign up where a User can select college and university through a drop down. This is my defineUserSignupFields method call: ``` export const getEmailUserFields = defineUserSignupFields({ username: (data: any) => data.email, isAdmin: (data: any) => adminEmails.includes(data.email),...

Email auth not working in fly.io

Locally, on http://localhost:3000/signup, the email sign up is working, as I have a sendgrid account with payment, and set the SENDGRID_API_KEY in env.server Once i deploy, with custom domain, to spectralhealth.ai, i can only see a network error. I dont see anything on server logs on fly.io. How can i debug. i have a lot of the envs set in fly.io...
No description

Learn about opensaas

Hey there! Jahan this side. I'm looking to become an indie developer, I have knowledge on front end ( react.js ) and a little knowledge of backend using python with no knowledge of databases. I'm having trouble understanding the whole structure of opensaas boilerplate. I would really appreciate if someone can teach me ( paid job ) and guide me through by actually creating a project....