Wasp-lang

W

Wasp-lang

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

Join

When trying to perform a database action i get network error. Also when trying to register

When i try to perform a database action or register an account i get network error. I did
wasp start db
wasp start db
``` PostgreSQL Database directory appears to contain a database; Skipping initialization ...

Wasp can't run PostgreSQL dev database for you since port 5432 is already in use.

When i do wasp start db, it gives the following error
Wasp can't run PostgreSQL dev database for you since port 5432 is already in use.
Wasp can't run PostgreSQL dev database for you since port 5432 is already in use.
...

What file can i change login page colors

hi kapa in what file can i change the login page colors from yellow to another color. i use SaaS 3 template

How do I edit the navbar in opensaas

How do I edit the navbar in opensaas ?

header of landing page showing on different route

I made a new route and page see the route below ``` route Databaseroute { path: "/dashboard/productdatabase", to: DatabasePagee } page DatabasePagee {...

Issue with Keycloak Logout Not Terminating Session in Wasp 0.14 on WSL

Hi everyone, I’m using Wasp version 0.14 on a WSL platform and have integrated social authentication with Keycloak. The login works fine, but I’m having trouble with the logout. When I click "logout" (from the OpenSaaS menu), the session on OpenSaaS is terminated (the local storage key is removed), but the session remains active on Keycloak. It seems that the logout action is not calling Keycloak's logout endpoint. Is there any configuration I might be missing? How do I ensure that Keycloak’s session is properly terminated upon logging out of OpenSaaS?...

My website isn't showing up when I run wasp start

I got a wasp project generated using mage ai. I added the necessary preequisites to run the project and ran wasp start. However, even though everything runs properly there's nothing showing up on the local host. It's just a blank white screen. There aren't even any errors, so I don't know what the issue is. Any help?

Why is my deployed project ui different to my local ui?

When i deploy to railway for some reason one of the components width is reduced? its smaller than it is when doing wasp start locally

How to change styles for login/signup page

I have looked through about every file and mass searched "yellow" and I cannot find the hex or any styling to change the login page. If anyone could point me in the right direction that would be great! Thank you!
No description

Open Saas - Login/Signup forms with shadcn ui

Hi everyone, What's the most straightforward way to update the existing forms using shadcn ui?...

Trouble with forms...

I'm facing trouble with certain factors for creating a form. I need - a multiselect dropdown feature that's much better than the html one (pic1, like who even uses this...) - i need a required attribute for the form components ...
No description

Cannot find module 'wasp/client/operations' or its corresponding type declarations.

I was coding when seemigly, all of my wasp imports just stopped working, and they now say: Cannot find module 'wasp/client/operations' or its corresponding type declarations Cannot find module 'wasp/client/operations' or its corresponding type declarations. ...

I have a wasp project with shadcn

I get the following error when importing a shadcn block into my mainpage. next_image.js?v=f050d64e:2277 Uncaught ReferenceError: process is not defined at ../../../node_modules/next/dist/client/image-component.js (next_image.js?v=f050d64e:2277:21) at __require (chunk-G3PMV62Z.js?v=f050d64e:8:50)...

wasp new with saas shows white page

Hi, I'm trying to start a new project with the latest version of wasp and after going through the (opensaas) getting started docs and running wasp start I only see a white page. I have tried deleting everything and doing it again, running wasp clean, updating to latest version....

P1 bug in wasp causing insanity in developer. Please isolate and fix. :-)

I just spent a day tracking down a problem, which manifests itself in a very unusual way,. Adding this line of code (to a server-side .js file): import { subtractCredits } from 'wasp/server/operations'...

"Hidden" schema error (?) causing cascading import failures

I had a feature branch working, with large numbers of code and schema changes. I switched branches, causing consternation in prisma & generated a migration and blew away the database in order to run. I did some other work in master, now I've switched back to the feature branch and made (another) migration for the same thing... Now I am getting a seemingly endless series of errors on code which isn't changed by this branch, all of the form "import foo from '../somewhere/somthing". It seems if I modify the import path in some way, like, say if it was "../server/foo" but we are already in the server directory, I can change it to "./foo" - which is technically the same directory, then we get past that error. Then another seemingly random import from another file (which used to work), is now failing, it seems the compilation stops on the first broken import & many are broken. I can sweep through many files which should not need to be changed, and seemingly never clear this. Wasp clean / wasp build does not change the outcome....

Direct access to prisma

Hello guys. I am facing this issue. I have a api in KY wasp project that receives a list of bids and I use this to send them to my users via email. The trick part is how to fetch my users in this case since this won't be managed by wasp , I tried to use query I call it inside the api logic I fail to provide de context or args there. Maybe I am missing something here and if you can see it please let me know...

How do I create a good sidebar UI

I want to know how i can create easily a nice UI with a sidebar