Wasp

W

Wasp

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

Join

fix UI

I connected to keycloak, now I want to handle login page of keycloak, can I?

16.2 where is wasp on fly-server

in 16.2 is the .build on fly cleared out? fly-server:/app/.wasp/build/server# ls I see this is now just with my node-modules, but where did the wasp project go to? ...

Getting 404 error from Plausible self hosted instance.

I have tried debugging as much as i could, would appreciate any insights.
No description

Missing migrations

- Wasp version: 0.13.x I have an instance were it seems it is missing the migrations files, so when running in prod, wasp db migrate-dev we face the following issue: ```...

Consider updating to 'node16', 'nodenext', or 'bundler'

[ Wasp ] There are types at '/home/rootall/apps/WhiteHatSeoTactics/app/node_modules/wasp/dist/ext-src/server/webScraper.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'. What this means? What I shoud do?...

Migration from 0.15 to 0.16 - Invalid value for the "compilerOptions.outDir" field in tsconfig.js

I was following the "Migration from 0.15 to 0.16" guide, which tells you to add this to tsconfig.js: `{ "compilerOptions": { // ... "composite": true,...

Error adding email auth

Following: https://wasp-lang.dev/docs/auth/email I am getting an error: import { LoginForm, SignupForm,...

public API for Chrome Extension

I am trying to create an API to receive and send information from a Chrome extension, what would be the correct process to define it in main.wasp? Create me a complete example...

Railway Deployment trials

Trying to deploy to Railway but it fails even after succesful build - I get this error: ERROR: failed to solve: Internal: rpc error: code = Internal desc = rpc error: code = Internal desc = header key "exclude-patterns" contains value with non-printable ASCII characters

APIs keep returning 404 error

I've been using chatgpt to write an OAuth integration with Notion. (my app needs access to Notion). However, I keep getting a 404 error whenever I try to do any api calls. I even have a foobar function & endpoint and it gets the same result. I've double checked all Notion API related configurations like client IDs, etc and made sure they are all correct. For the notion authorization, it is the callback that is failing. After authorizing Notion, it redirects to http://localhost:3000/api/auth/notion/callback?code=03ed839c-59bf-41a9-9d9b-e4a5697e9d03&state= but the UI shows a 404 error. In Postman, it shows the html from main.wasp and a "You need to enable JavaScript to run this app." message. I am using wasp 0.16.0 on macos (m1 pro macbook pro) ``` //#region Notion Integration route ConnectNotionRoute { path: "/connect-notion", to: ConnectNotionPage }...

After login, call a function to send message to extension to store session id

I want the user to login on website and when he logs in , website calls authenticate with API using header Bearer < Bearer token> I would like to send this token to background script of my chrome extension so that it is avaliable for chrome extension. How to do this?...

What does the `.wasp/out/Dockerfile` do?

Because it relies on package.json / package-lock.json, so it can't really be called from .wasp/out right? looks like a remanance of /out vs /build?

Configure timeout/exceptions for actions

Wasp version: 0.13.x So I have this situation where an action takes so much time that the connection closes because what I believe a timeout, and that is completely fine for me, however I would be able to properly control those exceptions when calling an action fails for whatever reason. Is there any way to do this? Right now I am getting the message Network Error. While this might work:...

auth/me delivering too much info to client

Wasp version: 0.13.x I am seeing the requests /auth/me and it returns too much info to client. I haven't seen anywhere to limit the info provided to client or at least in a more clean way. Thank you...

Verify email in playwright end-to-end tests

Hello, I have started playing with the playwright tests. I am seeing a problem during the signup process as it is not verifying the email. What is the recommended way to handle/skip the email verification for the end-to-end tests? Thanks in advance!

Cross platform using capacitor?

Did anyone tried to pack an opensaas app in capacitor for quick android/ios app generation?

Supporting decimals in prisma schema

My schema has fields like so: ```model PaymentRule { id String @id @default(uuid()) venueId String ...

Port 5432 is already in use

Is it yet possible to assign a different postgres port for Wasp? Mine's currently in use by a different project, and I don't want to kill it so as to run Wasp. What's the best way to accomplish this?...

How can I access the current server URL from a wasp operation?

In a http request I could do req.headers.origin, but how do I get that from an operation?

Issue Deploying Frontend - "Cannot find package 'wasp'" (Wasp 0.15)

Hi Wasp Support, I'm trying to deploy the frontend of my Wasp application on a production VM using Wasp 0.15.0 but I keep getting this error when running npm run build: up to date, audited 79 packages in 815ms...