Wasp

W

Wasp

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

Join

Persisting pre-signup data

Hey, I wander if there's a way to persist data user enters before sign-up, so I can store it to DB (and associate with the used ID) when/if signup completed? My guess would be working with react context to achieve this, but I'm not sure...

Error when running migrate-dev

Hi everyone, I've just created my first project following the guide, but I get an error when running wasp db migrate-dev This is the steps I've done so far:...

Custom API issue

Trying to implement a custom API, but I'm getting a html as response and the logs are not print in the console. In main.wasp: api getChart {...

Error on run app with with wasp start due to dependency installation

Hello guys, i am having a hard time here stating my wasp project. I was coding a few days ago, installed some dependencies with the --legacy-peer-deps flag and kept going. Today i came back to write a few more lines of code but the app wont start due to the dependency error... this arre the ones failing right now :
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
Is there any way to upgrade react version or anyone found a way to overcome this situation? When ever i try to start the app it fails and since i cant pass the flas with the wasp start commad i am stuck without other options right now...
No description

Safest way to add a new required property to a schema model in a production project?

I have an existing project that has a number of existing users. On the User schema, I want to add a new property (a list of ints). This will be mandatory (although initiated as an empty list). What is the best way of dealing with this safely to ensure my prod database is not at risk?

LemonSqueezy webhooks not working after deployment (VPS)

My Lemonsqueezy webhooks work fine in local environment with ngrox, but give error after deployment...

Customize loading screen background color

Hi everyone, Is there a straightforward way to customize the background color of loading screen (for protected routes, I guess)? It's currently white and, as I'm using dark/light modes, I would like to align this on the current theme. The part of code concerned seems to be this one: ...

How to change the form in .wasp

I need to change tag <ResetPasswordForm>, like add the button to see the password and fix title, but this tag is in .wasp which will render default file, How I can handle this
No description

Any support for AWS SES as ESP?

Have searched through the docs but can't find any mentions for anything but SendGrid and Mailgun

SDK build failed with exit code: 2

I'm beginer and each new project that I created has this error, I'm using WSL
No description

Fly (Deploy command failed with exit code: 1)

First time seeing this error: ```==> Building image Waiting for depot builder... ...

Allow Guest Subscription Before Account Registration in OpenSaaS

In OpenSaaS, is it possible for a guest to complete a subscription with Stripe or Lemon Squeezy before registering an account?

How to render pdfs within an opensaas project

within a opensaas project, using wasp-lang. How do i make it so that, pdfs can be clicked on and seen in the front-end? I'm trying to use this: For a guide on how to create Ai Creations, check out the <a className="underline text-blue-200 hover:text-blue-300" href="/User_Guide_to_generate_and_upload_ai_images.pdf" download>User Guide</a>. And the folder structure is within the /public. but it is not working? note there's also a static folder, within client/static for images. but its not working as expected for the pdfs?...

Getting User from the Task entity

How do you get the user from the Task entity when using "user User @relation(fields: [userId], references: [id])"

npm i fails in OpenSaas

``` (base) app [develop] % wasp db migrate-dev 🐝 --- Compiling wasp project... -------------------------------------------------- ...

Fly.io Multi-Region Wasp setup with database Replicas

I'm planning to run a multi-region service. My service, spellfast.ai, should be fast globally, so I'm scaling to multiple regions. The best way to do this in my case is by using database replicas, which are clones of the primary region's database. The benefit is that you have one database, and the clones receive updates. The setup involves setting up different ports for reading from database replicas and catching write requests, proxying them from replicas to the database in the primary region. docs: https://fly.io/docs/postgres/advanced-guides/high-availability-and-global-replication/#connecting-to-read-replicas Is such a custom setup even possible with Wasp? Any suggestions on how to achieve this?...

How to access public assets on both server and client?

wasp version: 0.15.1 Hey all, I'm currently working on a project where I need to assign Lottie animations files randomly when an entry is created. I had thought I had solved it, but it doesn't work after deploying to the test environment. ...

Getting EISDIR errors when trying to run Wasp

When trying to perform either "wasp start" or "wasp db migrate-dev", during the npm install section, i get an EISDIR when it tries to create a symlink from .wasp/out/sdk/wasp to app/node_modules. I tried creating the symlink myself beforehand, but it then just hits EISDIR when trying to lstat that same file . Wasp version is 0.15.2 Platform is WSL...

pgadmin - docker

i can't connect to the database using pgadmin -> prisma working -> psql commands works -> config im using :...
No description

Google Analytics Reverse Proxy

How? I feel some inconsistency in my Analytics numbers and some traffic analysis tools. Also, my traffic may be coming from places where there is a possible adblock.