Wasp-lang

W

Wasp-lang

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

Join

Change auth UI text (Different language)

As title says, I'm reading the AUTH UI document page, but I can't find anything about text content. I know "log in" is pretty clear, but I would like to know if there's a way to change the text so it displays "inicia sesión" (spanish)

File is not defined

My OpenSaas application has a file upload feature where you upload a file and send it to the nodejs backend (as a File object) to read the content, etc. It works fine on my macbook (wasp start), but once published to Railway, when I upload the file, I get the "ReferenceError: File is not defined" error. The line causing the error is "const reconstructedFile = new File([fileBase64], metadata.fileName, { type: metadata.fileType })" I know that nodeJS doesn't understand the File object, but why does it work when I run it locally (via wasp start), but not on the Railway server? Aren't they both nodeJS environments?...

How to limit one active session per user

Hi, how can I limit one active session per user at a time? If a user is logged in from one computer and logs in again from a different computer, how can I detect it and logout from the first computer before starting the new session?...

Setting up custom mail provider

As title says, I would like to know if there's the possibility of using another mail provider than mailgun, sendgrid or a SMTP. Let's say, SMTP2GO. as I'm not allowed to create an account on the both big services due to geographical reasons. Is there a way to implement this? or is this already possible choosing STMP and specifying the provider? If it's not possible, I'll just go to a cheap VPS but they are usually blocking port 25 haha....

Wasp db migrate-dev questions

What does db migrate-dev actually do? explain does it migrate my local database to my database_url?...

[ERR_MODULE_NOT_FOUND]: Cannot find package 'tailwindcss'

Just followed the https://docs.opensaas.sh/start/getting-started/ page I 'm not able to launch the blog, see the error bellow not sure about how to manage that...
No description

Redirect WWW to not-WWW version

I had deployed on fly and with my custom domain (myweirdapp.com). I wanted to make sure that I don't have any www.myweridapp.com versions. At this moment every www url works in my app. I don't want that, I just want to have the non-www version. This www version should redirect to the non-www version....

0.14 -> 0.15 migration + fly

I migrated from wasp 0.14 to 0.15 in my openSaaS app. After following the instructions here: https://wasp-lang.dev/docs/migration-guides/migrate-from-0-14-to-0-15 everything works great locally, but when I try to deploy on fly.io with
wasp deploy fly deploy
wasp deploy fly deploy
I get the following error, which I think might have to do with React Router 5->6: $ REACT_APP_API_URL=https://korean-language-app-server.fly.dev npm run build
[email protected] build...

Your wasp project has successfully compiled is the last message

So when i use database_url set to my supabase url, and then do wasp start - it does not send me into a new tab or initate localhost:3000? its like it gets stuck but there is no error all it says is just - Your wasp project has successfully compiled....

SMTP doesn't send emails on production

Hi, I configured SMTP and testing on local, everything works great, I sign up and I get the verification email. Unfortunately, when I switch to production, emails aren't sending. The error: Failed to send email Error: connect ECONNREFUSED 127.0.0.1:587 WASP version: 0.14.0 My platform: WSL ...

Can I disable cors on backend

I am using a nginx side car container to handle cors. However the server also tried to handle cors and it is sending multiple origins. I tried the middleware suggested in this and that doesn't work https://wasp-lang.dev/docs/advanced/middleware-config#1-customize-global-middleware I need to allow requests from https://youtube.com because the content script in the extension makes call from this domain...

where can i edit login and signup pages?

kapa where can i edit login and signup page? i want to edit the button colors and main texts

How is the wasp website built?

https://wasp-lang.dev/ 1) I wanted to contribute a few docs and would rather see the website before I submit 2) Mostly I wanted to move deployment not to be nested under /advanced, or? Deployment is actually a general topic for everyone....

failed to send email production app

When i try to sign up in my opensaas app it says "check email" but the server logs say: ``` POST /auth/email/signup 200 286.658 ms - 16 ...

[plugin:vite:import-analysis] Failed to resolve import "../../../../src/clientSetup" from "src/index

I am trying to use the experiment ts support instead of the Wasp's DSL. I followed the migration guide, and i am getting an error telling me that clientSetup does not exist?

fly deployment issues

flyctl deploy --remote-only --config ../../fly.toml ==> Verifying app config Validating ../../fly.toml ✓ Configuration is valid --> Verified app config...

Migration issues

I'm migrating from .14 to .15 and i get this - "\x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/client/auth/PasswordReset.tsx(7,6): error TS2559: Type '{ children: Element[]; }' has no properties in common with type 'IntrinsicAttributes'.\n" + import { ResetPasswordForm } from 'wasp/client/auth'; import { Link } from 'react-router-dom'; import { AuthWrapper } from './authWrapper';...

How do i properly deploy?

I am really stuck at the moment on how to deploy. In the docs there are alot of different pages that say alot. I am not sure what and how to pass through the environment variables i set.... For example the DATABASE_URL i can only set that after i deployed right? also WASP_WEB_CLIENT_URL, this is also known after i deployed right and WASP_SERVER_URL? My main question is what env vars do I need to set before running any command and what after? And what environment variables do I need to set myself with that secrets set or --server-secret ?...

Flask server in wasp

Hello everyone, in src/server i have put the file main.py that contains: ``` from flask import Flask from richestBtc import richestBtc_bp ...
No description

Update / maintain production deployment

Lets say i deploy to fly my V1 of my app. How would i then maintain it and for example update it without having users loose data. Let say i add a new page and some new actions locally. How can i push these to fly?...