Wasp

W

Wasp

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

Join

How can I log the 'request-password-reset' email in the server console while using the Dummy sender?

Hi all, I'm working on a new Wasp project based on the OpenSaaS template, attempting to implement multi-tenancy. Part of this includes inviting new users, which if the email isn't associated with an account already, it creates an account for that email and sends an email with a link to the request-password-reset URL, instructing the user to change their password then log in. My question is, when a user account is created, the Dummy email sender outputs the email to the server console so that I can just click the link to activate it. However, when I submit the request-password-reset action, I don't see any way to see that resulting value. I assume it's some URL with a key value. How can I make that known? I can easily create new user accounts, but I have no way of testing the entire system until I can request password resets in development....

You need to enable JavaScript to run this app.

I get error: I get error: You need to enable JavaScript to run this app.

head

How do I add a script to the HEAD of an app?

Configuration Causing API Conflicts in Wasp Application

I am developing an application using Wasp version 0.16.0 and have encountered an issue with middleware configuration leading to conflicts between different API routes. Context: • Application Setup: The application includes multiple APIs, such as a payment webhook and an AI callback endpoint. • Middleware Configuration: Specific middleware functions are defined for each API to handle tasks like CORS settings and request parsing....

How to import enums from prisma?

I have an enum defined in my prisma file, but import { User , OrganizationUserRole} from 'wasp/entities'; isn't working

Does datePaid in the DB get popuplated with the payment date OOTB with opensaas?

Is the functionality to update the datePaid in the DB already build into opensaas or does it need to be added? If its already set up, what format is datePaid in?...

Error when I installed puppeteer and turndown

The client doesn't start when I installed "puppeteer": "^24.2.0", and "turndown": "^7.2.0",. I think it's because of the sub dependency. agent-base and proxy-agent.
No description

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:...