Integrate 3rd-party <script> objects
Certain 3rd party integrations require adding a <script> object to the index.html file. How can I do this with Wasp, given that the index.html file is generated dynamically?
wasp deploy fly deploy failure
Wasp version: 0.15.0
Platform: MacOS
I am using the wasp ts. Locally everything builds fine. I've tried doing
wasp clean
and wasp ts-setup
again with no luck.
```_stderr: '==> Verifying app config\n' +...No MainPage.tsx
I recently began walking through the docs starting with the quick start guide. I have since gotten the the app to start, moving on to
https://wasp-lang.dev/docs/tutorial/project-structure
where I see a reference to src/MainPage.tsx
. I do not have this file in my template app.
was version 0.14.2
platform: macOs...Google oAuth issue on production
On local environment, google auth is working fine, however, on the production I am getting "An unknown error occurred while trying to log in with the OAuth provider.". No clue, no hint on console. I set redirect uri correctly. Does anyone know how to debug it?
wasp version: 0.13...
PDF Creation & Prevoew
Hello friends, 🙂 happy open-saas developer here. I am a good way in to the MPV for my mechincal engineering caculation APP.
I am at a point where i need my caculation to output into a PDF engineering report style document.
What would be the best way to be able to generate a engineering report style PDF, and also then preview it before downloading?...
Another Deployment issue
Hey! I get another odd error here, I run wasp clean and wasp start and for everything is great and when I deploy I get this error.
I tore down my previous project and used a new name and so on fly.io. Any leads would be great, I'm not getting too far with cursor
let output = new ProcessOutput(code, signal, stdout, stderr, combined, message);
^...
SMTP on wasp build connecting on localhost instead of my SMTP provider
So basically, I have my SMTP configured to be on SMTP2go, with the hosting and password as env variables, also in main.wasp it is set to SMTP. When I try on dev mode (with wasp start) it connects to the SMTP host and sends the email correctly, but when I build all the stuff and deploy both backend and frontend, when it comes to sending a mail, it shows this:
```
POST /auth/email/signup 200 44.671 ms - 16
Failed to send email Error: connect ECONNREFUSED 127.0.0.1:587
at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)...
Expected Behaviour when running flyctl certs list -a <client app name>
@kapa.ai I'm fixing an issue where my site does not load at all when prefixing with www. It loads fine without it.
I realised I was missing a CNAME record with www, so I've added one in my DNS settings, but when running flyctl certs list -a <client app name> I only get the domain without the www back. Is that expected? I have updated the DNS but it has only been a few minutes....
seeding prod db
I follow the instructions here https://github.com/wasp-lang/wasp/issues/1464 to seed my db, but got the error:
...
❌ --- [Error] Can not connect to database: ---------------------------------------
The database needs to be running in order to execute this command. You can easily start a managed dev database with `wasp start db`.
❌ --- [Error] Can not connect to database: ---------------------------------------
The database needs to be running in order to execute this command. You can easily start a managed dev database with `wasp start db`.
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...

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 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
wasp deploy fly deploy
wasp deploy fly deploy
OpenSaaS@0.0.0 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 ...