Wasp-lang

W

Wasp-lang

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

Join

rebuild project on file change

Is there a way to force wasp to rebuild all the code without having to do a full clean? Replacing all the node modules takes way too long!

known issue with reloading web app?

Frequently when I make a change to the dev code (or even deploy a new version to my production system) it will recompile, but not actually load the new code. As a test I simply put a console.error() call in to frequently used section of code. and let the auto-updater recompile. I always see this in my wasp output : 🐝 --- Recompiling on file change... ----------- However, this sometimes results in no changes (i.e. the error message does not get displayed). The problem will persist until I do a wasp clean....

Is there a way for me to run a SQL query on my local database?

I've had some issues with my local db due to a manual error, so I can't complete a migration. I know what the issue is (I need to delete some duplicate rows), but is it possible for me to run SQL on my local db?

How do i change width of the landing page

I want to change the width of the landingpage. so the image in the saas template is pretty small in width i want it to reach a bigger wdith

Different Root Components for Pages

Is there a possibility to define multiple root components and assign them in the wasp config file per page? So instead of one global root component i would want something like: ``` route HomeRoute { path: "/", to: Home } page Home {...

Using Open SaaS with V0.dev (shaden UI)

I've set up Open SaaS for my project on site-engineer.com.au and am now focusing on building the front end. Since I'm not a front-end developer and want to get the MVP out quickly, I'm looking into using V0.dev for designing my pages, specifically within the Open SaaS template. Has anyone here used V0.dev with the Open SaaS template for rapid front-end development? I'd appreciate any tips or insights on how to best approach this while ensuring a professional and cohesive look for my site. Thanks...

production deployment port

I'm deploying my wasp app to an Amazon EC2 instance. I've set up nginx as a reverse proxy for port 80 to port 3000. However, when I attempt to login I get an error message stating: "Access to XMLHttpRequest at 'http://localhost:3001/auth/username/signup' from origin 'http://3.12.210.195' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space local." Where is the "localhost" part of this auth path set, and do I need to o...

HTTP port

Hi there. Any pointers on how to change the HTTP and HTTPS ports the server is listening on? 3000 and 3001 don't work for me.

getDirectoryContents:openDirStream: resource exhausted (Too many open files)

I keep getting this error whenever I do a change to my files. My public folder is still the default one, I haven't done any major changes. What could be causing this error?...

Caching audio files on client

How can I cache an audio file that's in the public asset folder so I don't have to keep making a request to the back end?

ssl cert

@kapa.ai How do I add a ssl certificate to my wasp app

self-signed cert

how do I add a self signed cert to my Wasp app?

add react component

How can I add a new react Component to my page. I've tried adding a new .tsx file (I called it WordCloud.tsx" in the @src folder, and importing it to my page using "import { WordCloud } from '@src/WordCloud';" However, the import is not working. Do I need to add another reference somewhere to get wasp to recognize the new .tsx?

How do I only let people with certain subscription acces a page

How do I only let people with certain subscription acces a page. I have 3 subscriptions how would i limit acces to certain pages or parts per subscription plan. For example i have the /dashboard route which has different kinds of pages on its route. I only want people with a paying subscription plan to be able to access them and if they are not paying redirect them to the pricing page/...

Anyone ever seen an error like this before with pgboss?

wasp-server-1 | Error: getaddrinfo EAI_AGAIN db wasp-server-1 | at /app/node_modules/pg-pool/index.js:45:11 wasp-server-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) wasp-server-1 | at async Db.executeSql (/app/node_modules/pg-boss/src/db.js:28:14) wasp-server-1 | at async Timekeeper.cacheClockSkew (/app/node_modules/pg-boss/src/timekeeper.js:114:24)...

Hi, in mode test the stripe billing portal is not working. Does anyone have this problem ?

The payement method works well and update the databse but to manage the plan then the billing portal is not working. saying this : (in french sorry ) Connectez-vous pour gérer votre compte...

WASP App Wont Load Without Restarting Computer

My WASP App will load properly the first run, but it will not run no matter what i do the second time. So lets say i turn on my Macbook (m2 chip), I go to my wasp app, i wasp start db and wasp start. Everything opens great, app works. ...

Waspello example

I am trying to run the waspello example but am getting a bunch of errors: [ Wasp ] auth/providers/types.ts(11,37): error TS2694: Namespace '"/Users/b2077/PycharmProjects/waspexample/waspello/.wasp/out/sdk/wasp/node_modules/.prisma/client/index".Prisma' has no exported member 'UserCreateInput'. [ Wasp ] auth/utils.ts(132,17): error TS2694: Namespace '"/Users/b2077/PycharmProjects/waspexample/waspello/.wasp/out/sdk/wasp/node_modules/.prisma/client/index".Prisma' has no exported member 'AuthWhereInput'....

Any examples?

Hi there! Just started using Wasp.. I was wondering are there any examples of working SAAS built with Wasp that you can share? Thanks!

Extremely slow loading on mobile

I am getting extremely low Performance scores on mobile for every page, see the Lighthouse report here. It happens across all pages, this one in particular is mostly text. OpenSaaS.sh also has a super low Performance score on mobile...