Wasp-lang

W

Wasp-lang

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

Join

Errors with tsconfig

Hello! I am currently running the saas wasp template for the very first time and I faced this problem: ```
wasp db migrate-dev
...

Can't redirect after action taken

Im losing my marbles on this one. I'm using
useHistory
useHistory
from react-router-dom to try to redirect to 1 of 2 pages. But i can't get the redirect to work for the LIFE of me....

Should the `/login` route respect the `onAuthSucceededRedirectTo` when the user visits `/login`?

When the user first logs in from the login route, they are redirected to the path set in onAuthSucceededRedirectTo. However, when the user is already logged in and visits the login route path /login, they are redirected to /. I am using email auth if that helps....

Is it possible to use Qwik framework with wasp ?

Is it possible to use Qwik framework with wasp ?

SaaS Auth & Login

hi, I run the SaaS app locally. Everything looks fine. I try to sign up as a user, but then can't login. It complains: "Invalid Credentials". I try look in docs but don't see something for this. I am expecting on local, it allows a local stored Auth credentials and then I can test it. Perhaps I am missing something? Thanks!

Is there google autentication integrated with mail autentication in wasp?

I would like to add google autentication to my website too, is there a way to do that?

Remove email sign in/ up

Is there a way to remove the email sign in/up. I'm only using Google Auth

Server is blocked by CORS policy

Hi there, I have the following problem: I have deployed my app to Railway (server, PostgreSQL and client). The app is "live" but if I want to sign up as a user it tells me: Network error and I get the following issue in the Browser console: signup:1 Access to XMLHttpRequest at 'https://server-production-...railway.app/auth/me' from origin 'https://client-production-....railway.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. index-Bpk1JXu_.js:57 ...
No description

Having problems with deploying to vercel and also manually deploying to my server hosting provider!

Hello guys today I tried to deploy my saas. I tried it on my hosted server but wasnt able to get i run. I really tried to understand the docs but still wasnt able.(would be nice if somebody could help me out) Next I tried vercel but there I also failed. Idk but i find it really hard to deploy a wasp project. So please guys help out and have a nice one!

Some crazy WASP error!

Hey guys! This is a different project from my main design one so its pretty new, so i can afford any breaking fixes lol. I don't know what the heck happened but i get this error:...

google login custom domain

I tried setting up google login with my custom domain deploying with fly.io and for some reason i tried logging in with google and it never logged in. I checked this out and it seemed to be because of the wasp client url that we have to set.. i had a "/" at the end and maybe that was it. But now when i try to get in to my wasp app that is deployed i cant login with any user or use the google login. Im not sure what happened, but i even deleted the client server from fly and re created it and the...

Issue with open saas and supabase

Hi, I'm using 0.13.2 version of Wasp and am trying to use the Open SAAS starter kit with Supabase to handle authentication and user data. I believe I was able to get the authentication working correctly earlier, however now when I try to sign up a user I get an error on the frontend "Request failed with status code 500" In the console, I get the following message:...

Why people use Shipfa.st when there is free tool like OpenSaaS?

Why people use Shipfa.st when there is free tool like OpenSaaS?

Does OpenSaaS provide email authentication webpage teamplate as html/jsx/css file?

Does OpenSaaS provide email authentication webpage as html/jsx/css file?

Does OpenSaaS provide email authentication service for different users?

Does OpenSaaS provide email authentication service for different users?

Add extension postgis

I want to add the PostGIS extension to my db. I added this into my main.wasp : ``` db: {...

ERP Project Help

Hello everyone, I started the Open SaaS project and starting the migrating the database schema using prisma, when I provide ChatGPT and GitHub Copilot our current MySQL. Then ChatGPT asked me to modify schema.prisma file. But I learned in the OpenSaaS document, we should not modify any files in the .wasp folder, but should modify main.wasp instead. How should I go about using GitHub Copilot and ChapGPT starting from this? little background:...

manual deploy gcp

I am trying to manuelly deploy to gcp cloud run and when doing the wasp build i get that the database url is not found but i did set it in .env.server Then when deploying cloud run it says that the app couldnt be deployed kn port 8080 (which i dont know where it gets from) but even when puttin port = 8080 in .env.server...

ERR_MODULE_NOT_FOUND due to double .js.js extension in name?

Have any of you had this error message before? Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/howcaniexplain/Desktop/CodingProjects/Project/Project/app/.wasp/out/sdk/wasp/dist/ext-src/server/actions.js.js' imported from /Users/howcaniexplain/Desktop/CodingProjects/Project/Project/app/.wasp/out/sdk/wasp/dist/server/operations/actions/index.js I am recieving this error for queries and actions, where it seems to be looking for queries.js.js and actions.js.js instead of queries.js and actions.js. Actually going and manually changing both files to include the extra extension (ie making it queries.js.js and actions.js.js) actually fixed the error messge, but not really the ultimate issue as it is messy and Wasp created an additional copy of queries.js and actions.js now....

crud get

Can seem to figure out how to curl a /Tasks/get to my database. See the following setup: main.wasp ``` route RootRoute { path: "/", to: MainPage } page MainPage {...