Wasp-lang

W

Wasp-lang

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

Join

Enable dependabot

Hi, I would like to enable Github dependabot in my open-saas project. At the moment, it is failing due to the local dependency on "wasp" in the package.json file: "wasp": "file:.wasp/out/sdk/wasp"," ...

Import JSON in env.server ?

I’m losing it, I’m trying so many methods to import my Google vertex service account credentials which are in JSON format. Anyone know howwww...

Redirect user if authenticated?

Is there a way to do a server-side redirect if the user is authenticated? i.e: if a user is logged in, I do not want them to be able to go to the /login page, and should instead be redirected back to their /dashboard . ...

update wasp after usemage.ai creation

I have created an app use msemagi.ai. I have a lot of changes to customize the app, but need to update to version 0.15.0. who to do this?

Upgrade memory of fly.io database

I know this maybe is not the place to ask but what is best practice for upgrading memory of fly.io database postgres? I right now have 223 mb but it somehtimes runs out of this, so maybe adding like 1gb is good? any tips on how to do this?

Where is the /src/payment/paymentProcessor.ts?

In this link it says https://docs.opensaas.sh/guides/payments-integration/ go to /src/payment/paymentProcessor.ts but where it is?

i can t create account with same email and passwords

I can create account with the same info, when i try to connect to the accoutn it doesnt work GitHub - LifeTakerSimo/saas_base

Caching requests

I'm returning signed audio urls from cloudflare, wanted to know if there was a way with useQuery to cache that, and not rehit the API

fly deploy pointing to wrong server URL

I am trying to deploy a postgres + websockets Wasp app to Fly, following the deploy instructions here: https://wasp-lang.dev/docs/advanced/deployment/cli App works correctly locally. I ran: wasp deploy fly launch my-wasp-app mia ...

Remove cookie consent banner

I am implementing Adsense and Google automatically injects me its own Cookie consent banner. I would like to make the Wasp CookieConsentBanner from the OpenSaas template not to appear.
No description

Fly Performance Questions

I understand the SSR status on Wasp, by any chance do you know anything about the performance difference between shared vs performance machines? The price difference is significant. Also, any increase (ram or cpu) has been experienced in order to increase performance on a Wasp application?...

react-router-dom version

I'm getting an error when compiling: Error: Dependency conflict for user dependency (react-router-dom, ^6.28.0): Version must be set to the exactly the same version as the one wasp is using: ^5.3.3 I need features of the react-router-dom that were added after the version wasp is using. How do I update wasp to use a newer version of react-router-dom?...

sendgrid use email templates

I would like to use the email templates in sendgrid so that it easier to reform the templates without deployment and isolated place to maintain these. however I find the emailSender from 'wasp/server/email` only allows the type that is for emails where html and text versions are mandatory...

is it possible to store the token that is created after login into browser localstore

I need to login into extension. I have different flow as of now. But wondering if having user login on website and once successful, update the local store that extension access for the token

Access folder in project root from dockerfile

Hey! I have a folder for certificates /cert where I store certificates. I want to include them in the dockerfile. The issue I have is that after wasp built, this \cert folder is nowhere to be seen inside /.wasp/buildwhich makes it impossible to use inside the docker build process....

pg-boss can't find certificates

Hey! I'm trying to connect my app to an RDS db: DATABASE_URL="postgres://user:[email protected]/databaseb?ssl=true&sslmode=verify-full&sslrootcert=~/certs/global-bundle.pem" ...

How can i create an account in the local env and test it

How can create admin account or test create account on my loca ? How can i access the database to see the data saved...

Landing Page doesn't display

I just created a new OpenSAAS project and ran the other commands including wasp start but the page doesnt display anything, it also doesn't give any error message in the browser console or in the terminal.

Adding svgr plugin to the vite config

Hey! I want to import svgs as React svg components instead of urls. So I installed the svgr vite plugin https://www.npmjs.com/package/vite-plugin-svgr. Locally, it works perfectly but I can't deploy because the web-server folder doesn't build. The issue is ...

Windows development

Windows runs node natively Windows runs docker natively What are the current challenges with installing Wasp-Lang in Windows without WSL?...