Wasp-lang

W

Wasp-lang

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

Join

Database not started on setting up the project

I have just worked with Wasp-lang and trying to run the first project. The error occurs when I try to wasp start. It said the database is not started even though it is SQlite DB. Wasp version: 0.13.2 System: MacOS M1...
No description

error schema.prisma:63

Hi Guys, i get the following error when creating a new project in wasp it says schema.primsa is already in use but i completely removed the dir where the previous project was and i tried to uninstall wasp / clean wasp nothing yet has worked. What else can i do? Thank you. error: The model "Session" cannot be defined because a model with that name already exists. [ Db !] --> schema.prisma:63...

How to change logo in google search

When I search for my website on google. The results show the logo for wasp on the left of the link instead of my own logo. What part of the wasp code do I need to change to make sure that I get the right logo in google search results?

How to replace wasp logo as favicon in tab

I've deployed my website using wasp deploy fly deploy. In my localhost, I was able to replace the favicon in the tab, but when I deploy it the wasp logo is the one that's present and not my logo. Why is this happening and how can I change it so that my logo appears in tab.

What file contains the styles for the login and signup page

I'm trying to edit the styling of the Auth UI Component because it doesn't fit with the color scheme of my website, but I don't know where the code for it is actually located. Can someone help with this?

When using GitHub codespaces, how to setup Google Oauth for development

When using GitHub codespaces, how to setup Google OAuth for development/

I tried using "wasp ai" like this video https://www.youtube.com/watch?v=0 shows but it doesn't work

Generating plan (slowest step, usually takes 30 to 90 seconds)... Code agent failed with the http error: 404...

Oauth provider flow redirects to localhost:3001 instead of 3000

I'm creating a new WASP app from scratch, I've added the Google Provider. My server by default runs on Port 3000 when I wasp start Problem is, when I try and sign in with Google, I'm redirected to http://localhost:3001/auth/google/login...

GetPaginatedTransactions problem with query with decimals

Hello I made simple object entity Transaction {=psl id Int @id @default(autoincrement()) type String...

Prisma update Update available 4.16.2 -> 5.12.1

Can I update prisma in wasp project? What impact it would have? │ Update available 4.16.2 -> 5.12.1 │ [ Db !] │ │ [ Db !] │ This is a major update - please follow the guide at │...

Is there an easy way to use another Tailwind Component Library or shadcn?

I tried setting up daisyui with the existing CSS and it messed up everything. I am wondering if there is an easy way to do this. I am okay to even just use something like shadcn/ui where we can copy paste code but it does require some setup - https://ui.shadcn.com/docs/installation/next. Please ignore my inexperience with React/NextJS. I primarily do backend work and this is my first time working with React.

Issue with OpenAI API

Why is there a red line under chat? The example export const generateGptResponse: GenerateGptResponse<GptPayload, GeneratedSchedule> = async ({ hours }, context) => { for seems to be working fine from the OpenSaas boilerplate
No description

Restart wasp db

I terminated my database, and I am trying to get it running again. How do I do this?

Google Auth re-using the OAuth token

If I want to re-use the Google OAuth for Google API client (that does some operations on behalf of the logged in user on the server), what are the steps?

Superjson problem

I get audio from elevenlab, send to frontend, but wasp convert it into jsom, I can not listen to the audio, how can I prevent or fix it?Thank you.
No description

Using Wasp Mage to generate and update new Wasp entity Actions and Queries

I am interested to know if we have a way to use the wasp mage to generate our project's actions and queries dynamically. I want to update my wasp.main file, and run wasp clean, and them wasp make to generate updated actions and sensible queries.

download

I have an issue where i download a wasp SaaS template and set my path, and then when i open close and open my terminal i can't use any wasp commands. Any idea as to why its not recognizing wasp? My best guess is that im getting my path set up incorrect.

how to add middleware for actions and querys

I see there is doc for add middleware for api, but how to add middleware for actions or querys? I dont see a tutorial for that, and tried many ways, it does not works

I've been running into the same issue with wasp start

What version of node should I install for starting a new saas project? I'm currently running 19.3.

freaking out a little bit

WASP 13.2 [ Client ] > [email protected] start [ Client ] > npm run validate-env && vite...