Wasp

W

Wasp

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

Join

Beginner question. Set as the home page?

I've created a secondary page. called imageGallery. how do i set this page as the home page? or what code is needed in the main.wasp to load content from the imageGallery

Is this an invalid action? Getting a 500 when calling, no error logs

I'm trying to do a simple update call but getting a 500 from prisma, with this message ``Error: Invalid prisma.creators.update()` invocation: {...

Wasp websockets with multi-region fly.io app

If I have my Wasp app deployed to fly.io in multiple regions and utilize websockets, do I need to worry about routing the websocket connection to the proper server? Are there technically 2 separate websocket connections running that aren't aware of eachother?

AfterEmailVerificationHook

Is there an afterEmailVerificationHook so I can send a welcome email?

how can i create a custom global middleware almost same with the user authenticated middleware

i need to pass new data in context similar how can i get the user in context in action and query

Caching data with wasp

Just set up file upload/download to S3 as done in openSaaS. I'm guessing that every time a S3 url is generated with a key, you would get billed on AWS - is there a good way to cache data that works well with prisma/wasp?

React Router Future Flag Warning: React Router will begin wrapping state error

This error is appearing: React Router Future Flag Error: React Router will begin wrapping state updates in React.startTransition in v7. You can use the v7_startTransition future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. Error Component Stack is about the: RouterProvider...

Weird vscode bug

In main.wasp, I get this vscode error showing that there is no export member on only these 2 queries. I can use them in frontend components, it is not a showstopper but kinda annoying that the error persists even after closing/reopening vscode....
No description

ERR_MODULE_NOT_FOUND problem with config

When I do import { config } from 'wasp/client' I get a problem with code: 'ERR_MODULE_NOT_FOUND',...

Update user password

I'm doing the user edit and i want to insert the user password, help me!

Customize Login Text

There's a way to customize login text component?

api issue

@kapa.ai api call getting 500 and this error rror in generateMarketingMessage: Error: OpenAI is not configured properly [ Server!] at generateMarketingMessage (/home/brad/haystack30/app/src/demo-ai-app/operations.ts:54:13) [ Server!] at generateMarketingMessage$1 (/home/brad/haystack30/app/.wasp/out/server/src/actions/generateMarketingMessage.ts:7:11) [ Server!] at <anonymous> (/home/brad/haystack30/app/.wasp/out/server/src/middleware/operations.ts:14:30) [ Server!] at <anonymous> (/home/brad/haystack30/app/.wasp/out/sdk/wasp/server/utils.ts:26:11)...

Not found page

how to develop a not found page?

Rename DB column and migrate its data

Using prisma I had a column "balance" that I renamed "startBalance", and added a new one "currentBalance": The previous model: model TradingSession {...

Importing functions to worker files

I'm having a hard time importing functions to my worker files. Not sure what I'm doing wrong here šŸ˜„ How can I use functions from my actions.ts and queries.ts in my workers?...

Database Migration Problem

Hello! I finally found the error that confused me a lot at the beginning of wasp. Assume we have a model ``` model UserMetrics {...

UseQueries Support unavailable - best way around it?

I'm attempting to use the usequeries hook from tanstack query v4 - https://tanstack.com/query/v4/docs/framework/react/reference/useQueries as part of the wasp operations (like useQuery), but it's not be recognised by wasp. If it's not supported it's not a problem, but what can I use as an alternative when I want to batch a few requests together?...

Looking for a Marketplace Boilerplate or Framework in Wasp!

Hi everyone! I'm excited to dive into building a marketplace SaaS using Wasp and wanted to reach out to see if anyone here has: Access to a "Marketplace" version of the Wasp boilerplate, or...

Freemium Mode of User

can we server users on freemium mode if s/he uses free request calls then platform would ask to login and purchase the product? any help me out...