Wasp

W

Wasp

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

Join

Cannot find module 'wasp/client/operations' or its corresponding type declarations.

I've got several modules (basically everything in wasp/) that can't be found. I'm running in from wsl2 location, i've tried running wasp clean and rm package-lock.json. Still not sure how to go about troubleshooting this.

Project not building the frontend for production

Hey everyone, I'm building a project using another open source application as base, and it's my first contact with wasp, so I'm not too familiar with it. But basically my problem is that everything was running on my local but when I tried deploying to railway I'm only seeing a basic "Hello World" as my frontend, not my UI, and I first thought that it was a problem with Railway and was trying a hole bunch of different configurations on my Dockerfile, but nothing was working. Then I accidentally opened localhost:3001 on my browser instead of localhost:3000 and on 3001 I was seeing the same "Hello World". So digging a little more with ChatGPT localhost:3001 should also show my frontend, and I believe that my frontend for some reason is not really building. I was using wasp version 0.15.0 and upgraded to version 0.16.7 because I thought that could be it and now my localhost:3001 is just a blank screen, which I believe it's progress because now it's not the default wasp for when we don't have anything....
No description

I cant get daisyui to work

Wasp version 0.16.4 Linux...
No description

mailgunapierror method not allowed

When I try to send an email notification via the application using emailSender.send({ to: email, subject,...

Custom API endpoints - Port 3000

@kapa.ai - I've got a custom end-point that it supposed to trigger an API key getting regenerated and its not working. My frontend appears to be sending the request to 3000, but the backend is 3001. My current LLM agent wants me to edit the vite config, which sounds mental. Can you give me some direct about what's going wrong here....

Populate a database field on SignUp

@kapa.ai When a user signs up, I want my application to automatically populate a field in the database, its called apiKey. I have created API logic GetApiKey and regenerateAPIKey already. What advise can you give to an LLM agent doing this coding.

Minimal working API with jwt example?

Hey, I'm liking the plug and play aspects of wasp. It would seem to me that you could easily add a bit more API support for beginners. (Parsing a basic jwt that we could later and more fields to + explaining how to create a new key when going to production) Any plans for this? In the meantime is there an API POC repo I can see something minimal doing this with wasp? I noticed you have all the client libraries, so I assume you handle caching the token, but it seems strange that you would do the...

More Tailwind troubles

I don't know what it is with Tailwind not liking me, but I followed the instructions exactly from a brand new blank Wasp app and it's not working. I've done it fine before, but now it seems to refuse to work. Is this just me, or are other people having issues as well?

Fly.io's WASP_SERVER_URL and WASP_WEB_CLIENT_URL

I'm setting up fly.io to deploy my application, and I need to setup the secrets WASP_SERVER_URL and WASP_WEB_CLIENT_URL. Where do I get those from? I thought they were provided by Fly.io, or do I have to setup domain names somewhere?

Cannot import json

In wasp 0.16.6 i get the following trying to import json files File '/Users/ertan/Documents/Rezervera/Rezervera/app/src/locales/en/en.json' is not listed within the file list of project '/Users/ertan/Documents/Rezervera/Rezervera/app/tsconfig.json'. Projects must list all files or use an 'include' pattern.ts(6307)

Disable server access log

How can I disable server access logs when running in docker container? I would like to have them when running with wasp start

installing shadcn with wasp

How can I install shadcn with the latest version of wasp?

Deploying to railway

What are the complete steps for deploying to Railway? My Opensaas application has a Git repo, and it uses Supabase as the backend

usemage query edit and app consistency with the versions working without error

Hello, Thank you for this beautiful app and tool that we can utilize our projects. I'd like to ask about the usemage query, why can't we edit or give/add additional tasks to the query. Also, how do we make sure that our app is consistent with the version we implemented the task and coming updates/upgrades. Thank you....

client app env vars at run time vs build time

Hi, im trying to deploy a wasp application to a self hosts kubernetes cluster that could potentially have multiple environments so im not too keen on settings any client side env vars on build/ci for example here: https://wasp.sh/docs/deployment/deployment-methods/paas#3-deploying-the-web-client- does anyone have any suggestions to configure this? im thinking to run the npm build on container runtime...

root layout

Hi guys, im new with wasp and i was wondering if theres a way to have a layout for some routes and no layout of others? for example pages inside /app should have a common layout but /login /landing etc shouldn't. I've seen the client config example to add a root layout but that applies to every route, right? Thanks!...

Stop Refetching on Focus?

Any way to make it not refetch the /auth/me and my custom /get-user endpoints all the time? it's messing up some stuff in my app. I attempted to add some config to my useQuery(getUser), but that didn't help: ``` { refetchOnWindowFocus: false, refetchOnMount: false,...

how can i get a dark mode theme on the login/sign up page

I am using open saas and the dark and light mode switch works on all pages but the login sign up page

Does wasp support subdomains like app.websitename.com?

If, so how can I implement it. I am using the opensaas template.

Client build failed. Error: Cannot find module @rollup/rollup-darwin-arm64.

wasp version 0.16.5 MacOS M3 I am trying to deploy my app via Railway. I am able to deploy server. But facing problem when building client /web-app. ...