Wasp

W

Wasp

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

Join

Preventing wasp server recompiling when new files created in /public

Hi, i'm developping an app that generates wav files in /public/audio/tmp directory. But each time I generate a file, my wasp server is recompiling. How can I exclude the /public directory, or the .*wav files from making the server recompiling ?

Didn't do anything new. My app broke, and it's hard to determine why auth isn't working anymore

Testing locally. Cleaned the db. Re-seeded. wasp start and the non-authenticated pages work like Login, but when I log in successfully, the auth'd pages break. Was there a dep upgraded behind the scenes that broke something? I'm unfortunately at a loss....

How to set a different meta tag in the head depending on the page

I would like to create some sort of dynamic open graph tags. I will briefly explain the use case to make it obvious: I've got a webapp to generate action figures. I want people to share their action figures in URLs like this (https://tufiguradeaccion.com/guest-figure/8258a638-0416-4b62-a720-1e116d004d5a) and for them to see the Open Graph tags with the action figure as the image. I've been researching and I've found that there is no support for SSG. I understand ... I was wondering if there is any workaround or something I can do. I hear the approach is to use "react-helmet-async" but I don't know how to start ... is there any sample repo where I can get inspiration from?...

How to not show fly.io domain on google search

Is there anyone that knows a way such that the fly.io domain is not shown in a google search? i have setup my custom domain..

CapacitorJS & Wasp

I want to know if anyone has played around with CapacitorJS and turning a Wasp app into a mobile app. Technically I know how to make it work, but I just wanted to see if anyone else has experience before I LEROY JENKINS my way into it

STRIPE PLAN ID is sent to checkout request as Price

guys i created 3 products in Stripe test , and set my 3 env variables : PAYMENTS_HOBBY_SUBSCRIPTION_PLANID=prod...., PAYMENTS_PRO_SUBSCRIPTION_PLANID=prod..., PAYMENTS_CREDITS_10_PLANID=prod... ...

Email Verification SMTP not working

I tried MailGun API /SMTP and tried Brevo SMTP , when i try to send email using swaks command it works , but on the app it does not work ( not in dev nor production ). when i try to signup i get status 200 but no email sent....
No description

Call custom api externally

I created a custom API that sends data to a database, and I want to call it from another application. I used fetch() to post the data, and got a 401 (unauthorized) as expected. I know I need to send a token or something in the header. How do I do that?

How can I access a raw request?

I added a new endpoint (Wasp action). Inside my operation, I want to access a raw request and check the request header value. I couldn't find a way to do this. I tried to access the request from the Wasp context, but it is not there. This is how I define wasp action: action incrementStats { fn: import { incrementStats } from "@src/ai-forms/operations",...

Is there already been an update on admin dash?

I want to know if three already are some improvements on admin dash, i am behind a bit. Also i want to know where i can see page visits etc that type of data. I use google.

Railway deploy server code fails with ENOENT error, following opensaas and wasp lang docs

I am getting this error when deploying to Railway by following 16.0 docs: āœ” Generated Prisma Client (v5.19.1) to ./../../../node_modules/@prisma/client in 295ms Start by importing your Prisma Client (See: http://pris.ly/d/importing-client)...

Best way of working out what's causing a 500 in production

I'm currently getting 500 errors in prod when trying to connect to my database, but the logs are a bit unclear on both server and db about what the cause might be. As far as I'm aware, I haven't changed anything database error - could not proxy TCP data to/from instance: failed to copy (direction=client->server, op=shutdown_write, error=Transport endpoint is not connected (os error 107)) Server error - 'Error: Connection terminated unexpectedly (Queue: emailChecker, Worker: c2de9f26-4ef5-42ec-b126-775a53c4ae54)\n...

Multi-file Prisma

I would like to implement multi-file prisma. In a nutshell, instead of having all your models in 1 file, you can split it up. I was wondering how I could implement it in my wasp. Here is the official documentation: https://www.prisma.io/docs/orm/prisma-schema/overview/location...

Docker and MacOS

I'm trying to create a Wasp project, but it always fails on the Docker part. I always get the error "āŒ --- [Error] Couldn't find docker executable: --------------------------------- ...

Seo optimization

Right now my site scores 64/100 on SEO. Anyone any tips on how to make my saas pop up at high places for certain keywords? What a seo checker gave: To address URL canonicalization issues, it is recommended to select a primary URL for your webpage and set up redirects from all other variations to the preferred one. ...

additionalFields above in SignupForm

``` <SignupForm additionalFields={[ { name: "displayName", label: "displayName",...
No description

AI tool for generating full stack wasp code

Hi everyone, loved the framework. Could you please recommend best AI tool to write full stack code for wasp applications?

Use pnpm instead of npm

Is there a way to use pnpm instead of npm?

Deployed wrong database

I have an unusual problem. I have two Wasp apps on Railway and somehow, I've deployed the server component of the one app to the server container of the other app. Now, I have the wrong databases in Postgres on Railway. The user table is still correct. This is not a huge problem since there are no active users at the moment but I'm wondering how I can deploy the right database tables again. Just deploying the server component as usual didn't work. The build goes through but the tables remain the same....

Can't install wasp on WIndows

Hi, very newbie question here. I'm trying to install Wasp for the first time but when executing the curl command curl -sSL https://get.wasp.sh/installer.sh | sh i got this error message Sorry, this installer does not support your operating system: MINGW64_NT-10.0-22631. ...