Wasp

W

Wasp

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

Join

how to customize the signup verification logic in the version 0.11.8?

I'm using version 0.11.8 so, when I try to create a user with email which already then it shows the message that signup is successful, instaed I want error message, so how can I customize or change this logic?

Navigating with /names/ instead /ids/

How can I change my navigation so instead the final slug is /subject/maths/grades instead of /subject/31c984d4-686d-4c3e-97dc-94dbd2bc5a58/grades Information to note, names can be repeated in the db so the key identifier is still the id but I want only the name....

migrate found failed migrations in the target

2024-11-13T09:21:07.224 app[d89015ef6d74e8] mia [info] migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve

Fetching Emails

Is there a guide on how fetching emails (gmail) to be displayed and to be used as a source for future queries throughthe chatgpt api

VSCode go to definition

Hi, just to ask here, when I click on go to definition in vscode, it takes me to the compiled function instead of where I actually implemented it. Is this by design?
No description

Multi-Factor Authentication

I want to force users to use MFA such as a phone number or email, does wasp support this out of the box? If not, does wasp support using Auth from e.g. Clerk? Users ATM will use their microsoft accounts to login so google / github / discord aren't suitable. Thanks!...

install on nixos

install on nixos

[ERROR] Cannot start service: Host version "0.21.5" does not match binary version "0.18.20"

Getting this error while trying to load wasp with "wasp start" command. How could I fix it ? If you need any other information don't mind asking.

Can anyone help me with setting up wasp for a saas project.

I've been following the docs but for some reason it does't work , when i run wasp db migrate-dev it seems to put me on a loop that never stops....

Large database results in long data loading on frontend

What is a good way to sort and or filter data from a database table that is pretty large? Right now it takes a lot of time. When a user goes to the page that will show this data paginated it queries the database but the method i use now takes pretty long. Is there any efficient sort/filter algoritm i should use with postgres in order to reduce this time?

wasp db migrate-dev taking forever!

hello guys , does anyone here have the same problem , after i run the command it's taking hours and still not working?

Prisma version error (migration v0.14.0 to v0.15)

Trying to run any commands like: wasp db start etc. and getting ❌ --- [Error] Your wasp project failed to compile: ------------------------------- - Wasp requires package "prisma" with version "5.19.1" in "devDependencies" in package.json.. In package.json I have the right version (5.19.1)....
No description

Manually deleted all Sessions for an user from DB. Unable to login with Google (login-logout loop)

Can anyone help please? Deleted sessions to force logout an user. But upon Google Login, the user gets automatically logged out and can't login at all. (API call screenshots added) ...
No description

Login to buy

Hi, When a user is not logged in or hasn't yet signup, the pricing page button says "Login to buy". But after the login user is redirected to landing or dashboard pages (which is expected normally). How to redirect the user to payment processor after the login/signup if they had clicked "Login to Buy"?...

How to add delay to all responses

I would like to test user interactions with delayed responses so that I can handle delays properly on UI.

input coming back as undefined

Hi, I'm trying to implement a new action in, but my input args keep coming back as undefined. Here's is the flow I've followed from the docs curl eample: ...

Good way of adding a search to a prisma table

What is the best practise of making a query that searches a string on a database table. For example i have a field name and when a user searches that on the frontend i want a query to search this name in a table under field name. What are best practises...

How to use authUser conditionally in a react page?

I need to show a page, not all of it , if user is logged in, then I would need to show all of the content. Not sure how I can achieve this, because when I define a route in wasp file, I can access the user object unless I make authRequired as true.

ERR_CONNECTION_REFUSED and cors

I've been getting this error can't find where I should fix it and it's a normal template just testing it out
No description