Wasp-lang

W

Wasp-lang

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

Join

Deployment issues with migrations

When I first ran the app locally, I ran wasp db migrate-dev and it created a new migration.sql file. When deploying, this new file caused issues and now there are db connectivity issues

[ Server ] Starting npm installwasp-bin: npm: streamingProcess: chdir: invalid argument (Bad file de

suddenly, when i run
wasp start
wasp start
I get this error:
[ Server ] Starting npm installwasp-bin: npm: streamingProcess: chdir: invalid argument (Bad file descriptor)
[ Server ] Starting npm installwasp-bin: npm: streamingProcess: chdir: invalid argument (Bad file descriptor)
...

deleted my docker image with and can't recreate

I deleted my docker image that was running the db. I ran wasp start db and it made a new db, but now when i connect with
wasp start
wasp start
(after running
wasp start db
wasp start db
), I get the following error on the db ``` 2024-10-31 07:13:44.454 UTC [40] ERROR: relation "public.Session" does not exist at character 98 2024-10-31 07:13:44.454 UTC [40] STATEMENT: SELECT "public"."Session"."id", "public"."Session"."expiresAt", "public"."Session"."userId" FROM "public"."Session" WHERE ("public"."Session"."id" = $1 AND 1=1) LIMIT $2 OFFSET $3...

Embeddings SaaS Template

What is [4] embeddings Comes with code for generating vector embeddings and performing vector similarity search. And what king of things it have? Features? Pages? etc... All...

Error deploying after migrating to ^0.15.0

The wasp start works fine and show all fine. Doing wasp deploy fly deploy it fails giving me these errors: `Visit your newly deployed app at https://toograded-server.fly.dev/...

railway tutorial not up to date

Can it be that the tutorial is not uptodate anymore? It says: Go to the server instance's Settings tab, and click Generate Domain. Do the same under the client's Settings....

Mailgun domain

From the docs: - Go to Domains and create a new domain. - Copy the domain and add it to your .env.server file. Is it a specific domain that Mailgun provides to me? Or is it the one that I bought over (e.g. godaddy?)...

[ Server ] GET /auth/me 401 1.305 ms - 43

When I run my app It gives me always this in the client console. [ Server ] GET /auth/me 401 1.305 ms - 43 Why? From where it comes?...

How to customize the wasp SaaS template

How to customize the wasp SasS Template

Welcome mail and verification page bypassing

Was wondering if anyone has experience with sending welcome mail after successful email verification. Also wondering if I can send users somewhere other than the verification page but still have their emails verified through the verification link. Thinking of building out some sort of user onboarding process or something as a project...

Can I send image over Sengrid mail system on OpenSaaS?

I believe sending images needs serialization, how can I achieve that, what steps should I follow. I can send text as mail but don't know how to send image.

How can i set a client side env var for production on fly

How can i set a client side env var for production on fly? I already deployed so i need to set it .

Login Form Language Customization

Not sure if this is already implemented but I also need text fields in another language. For now, I will just dynamically translate on page load, but ideally there'd be props for each line on login form.

Should I Update my WASP Version?

Hii long time no seee, I've been heads down working on my app the last month, and were going to production soon, have there been lots of updates and bug fixes? Should i updateee im on version 0.14.1

Number of connection per pool

I want to modify the number of connection per pool of Prisma database. Is it possible?

Improve SPA PageSpeed (OpenSaaS) - Bad Score in Core Web Vitals

I have been researching ways to improve the performance and scoring of my WASP project, particularly focusing on optimizing PageSpeed, especially for the mobile version. Currently, I'm working with WASP version 0.14, but I'm considering migrating to version 0.15. In this context, I would like to understand more about the handling of the main.wasp file with TypeScript in version 0.15. Since I’m not a developer, I don’t have an extensive background in this area, and the introduction of TypeScript isn’t immediately clear to me. Could explain what capabilities TypeScript offers in this version and how it might impact my project? Ideas?...

signup email not working

Standing up a new app, on the development machine, changed the port to 4000 to avoid conflict with Stripe CLI. Going through signup flow, nothing happens, no e-mail is sent, nothing is logged on the server giving a URL to complete authentication on dev....

microservice

Is wasp built to be used in a microservice architecture or is it not encouraged?

SaaS Platform (No Vendor Lock-In) – Can I Use React + Express Instead of Wasp?

Hi all, I’m planning to build a SaaS platform with open-source tools and want to avoid vendor lock-in. I looked into OpenSaaS.sh for this, but it seems like it requires Wasp to manage the project structure. While Wasp looks helpful, I’d rather directly use React for the frontend and Express.js for the backend, so I have full control and can easily continue using my code even if Wasp isn’t actively maintained or supported in the future....

Display app version in UI

In my OpenSaaS, I added 'version:0.1.1' to the package.json file in /app/, and I want to display it on the UI. How do I accomplish that? I added the following to operations.ts export const getAppVersion = () => {...