Wasp

W

Wasp

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

Join

wasp deploy

getting the same error after another deploy. it says port is not connecting at 8080. i cant find whats wrong. @kapa.ai

http://localhost:3001/auth/google/callback Google Auth

Ah, I've been developing an app doing other things with Google Auth, I need to understand how why is it normally
http://localhost:3001/auth/google/callback
http://localhost:3001/auth/google/callback
for google Auth, why not 3000? is /auth/google/callback a reserved route? I think so...

Node module doubling

I'm having problems during deploy, some about duplicates: Types have separate declarations of a private property 'queryCache' src/index.tsx(25,28): error TS2322: Type 'import("/root/Clever2/app/node_modules/@tanstack/query-core/build/lib/queryClient").QueryClient' is not assignable to type 'import("/root/Clever2/app/.wasp/build/web-app/node_modules/@tanstack/query-core/build/lib/queryClient").QueryClient'.\n + " Types have separate declarations of a private property 'queryCache'.\n" ...

Tailwind not working properly

I'm getting this error when I try to run my Wasp app after enabling Tailwind following the docs:
[plugin:vite:css] [postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.
[plugin:vite:css] [postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.
...
No description

error on deploy /dist not found

, on the server side u get : [stage-4 1/2] FROM docker.io/pierrezemb/gostatic:latest@sha256:7e5718f98f2172f7c8dffd152ef0b203873ba889c8d838b2e730484fc71f6acd ✔ 0ms [stage-4 1/2] FROM docker.io/pierrezemb/gostatic:latest@sha256:7e5718f98f2172f7c8dffd152ef0b203873ba889c8d838b2e730484fc71f6acd [internal] load build context ✔ 13ms...

Anonymous authentication

What is the best way to add "anonymous" authentication to my app? I want to allow users to do certain things without logging in but I still want to associate those records that they create with their session. How can I create this workflow and then, after they log in, link the items that they created while they were anonymous to their new account.

Best way of achieving triggering jobs more often than every minute

I currently have a job that runs every minute, but it's not frequent enough. The cron expression only allows for a minute as standard. Is there a way around it?

tigger a scheuled job

I'm unable to tigger a scheduled job. Submitting the job works fine. I've set cron down to one minute for testing ``` schedule: {...

Conversations here are reposted online (on answeroverflow)

Found whole threads from this discord posted here https://www.answeroverflow.com/m/1374012707099115550. Be careful what you put on a chat. I may have to go through and change a bunch of things now as I had ip addresses and things in chats with kapa. Anyway my fault, but I wanted to warn others.

wasp deploy issue

I'm using github action to do the deploy for my app. The deploy is working fine 4 days ago and my local docker also building wasp without any issue. I verified github action is using latest wasp version (0.16.5). But now I ran into the similar issue happened couple days ago: ``` ../../../src/signalgen/client/operations.ts(612,17): error TS2742: The inferred type of 'useGetAllTemplates' cannot be named without a reference to 'wasp/node_modules/@tanstack/react-query'. This is likely not portable. A type annotation is necessary. /home/runner/.local/share/wasp-lang/0.16.5/data/packages/deploy/node_modules/zx/build/core.cjs:416 const output = self._output = new ProcessOutput(dto);...

Redirect to page that started auth process | opensaas

In my app, I have page where users can visit but not see all of the data until they are logged in. After they log in/sign up, how can i redirect them back to the page they were trying to see the data

hot reload

When i do changes the compiler compiles but nothing happens on the page so i have to stop stop the program and recompile all the time (I'm using windows)

Probably a docker question, but -- PGVector

I install pgvector on docker on local deployment, everything is fine and works and I get this every time I restart the database and it asks me to migrate. I migrate, and database says already up to date, nothing to migrate. 🐝 --- Setting up database... ----------------------------------------------------- ...

Get JWT Token

I have created a new API to offload some of the video processing. But want to add AUTH to it. I thought I can leverage the AUTH that Wasp is using out of the box. My Wasp app will make API calls to this new API, can I send my JWT Token from Wasp to the new API? How do I do that?...

ERR_MODULE_NOT_FOUND - Relative paths

Wasp Version: 0.16.0 NodeJS Version: 22.13.0 OS: WSL Template: OpenSaaS ...

Node module doubling

TS2322: Type 'QueryClient' is not assignable... Types have separate declarations of a private property 'queryCache'. This means TypeScript sees two different versions of QueryClient because it's being resolved: once in your main app’s node_modules...

Remove ability to sign up with email that already is tied to an account

I am using the open saas template. After i create an account with a certain email, and then try making another account with the same email, it says that it was succesful. how do I fix this

wasp deploy

ive deployed my app on fly and im getting a browser error when trying to access some routes:

Failed to load resource: net::ERR_FAILEDUnderstand this error ai-assistant:1 Access to XMLHttpRequest at 'https://petall-server.fly.dev/auth/me' from origin 'https://petall.ke' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error...

Wasp Hackathon Sponsorship

Hi, I was wondering who the right contact is to ask Wasp for sponsorship for a post-secondary hackathon?

local deployments are non strict but deployments with fly are strict

../../../src/admin/UsersPage.tsx(261,22): error TS18046: 'error' is of type 'unknown'. ../../../src/admin/UsersPage.tsx(275,20): error TS18046: 'error' is of type 'unknown'. ../../../src/auth/hooks.ts(142,40): error TS7006: Parameter 'tx' implicitly has an 'any' type. ../../../src/chat/ChatPage.tsx(295,65): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ 'Study Assistant': { reminder: string; initialMessage: { content: string; role: string; provider: string; }; }; 'Essay Helper': { reminder: string; initialMessage: { content: string; role: string; provider: string; }; }; ... 5 more ...; 'Meeting Planner': { ...; }; }'. No index signature with a parameter of type 'string' was found on type '{ 'Study Assistant': { reminder: string; initialMessage: { content: string; role: string; provider: string; }; }; 'Essay Helper': { reminder: string; initialMessage: { content: string; role: string; provider: string; }; }; ... 5 more ...; 'Meeting Planner': { ...; }; }'....