Wasp

W

Wasp

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

Join

Facebook login?

I know Facebook is not official wasp supported, but has anyone been able to use Facebook login? Curious on how and best practices for implementing with WASP

Accessing static files

I need my app to access a collection of static JSON Schema files, but it doesn't seem straightforward to do so. The files are currently positioned in the server/utils/schemas directory, but this directory isn't included in .wasp/out/sdk/wasp/dist/ext-src. It is included in .wasp/out/sdk/ext-src, which is where I'm currently having to reference them from, but I suspect this location won't be valid for the deployed application. As the __directory and __file magic variables aren't available, here's my current, hacky, implementation: ```ts...

i have websocket and i want to be able to call websocket in my server action

want to trigger websocket in action server or api in my application

Routing to another page

Hi, I'm getting type errors when trying to route to another page. e.g. a profile/:id page. I am aware of this documentation: https://wasp-lang.dev/docs/advanced/links. But when I try to use <Link to="/profile/:id" params={{ id: creation.user.id }} className="text-blue-500 hover:underline" >...

I am customizing the SaaS template

Good day to everyone, I am customizing the SaaS template and every changes made I have to restart the database and the development server to reflect the changes, why?

Error after upgrading to Wasp 0.15.0

Hey Wasp team! I just upgraded Wasp from v0.14.0 to v0.15.0 by following all the steps on the migration guide (https://wasp-lang.dev/docs/migration-guides/migrate-from-0-14-to-0-15). After upgrading, my project doesn't seem to build anymore, I am now getting following error:...

Google analytics is not getting installed in my index.html after using npm run build?

I'm using the wasp basic template (1). I have analytics set in my wasp.main and when i try to build it using npm run build/netlify build commands and couldn't able get the scripts installed in the head section in index.html file? I've also tried using different scripts for analytics, but nothing seems to work. Can anyone help me with this issues?...

Usemage app result show blank white screen

Hello, I hope everyone doing well. I try to use usemage, it successfully installed and once I run it, it work, but I only get blankscreen white. I have no uBlock in my chrome, or other server running. Is there anyone know how to fix this issues? Thanks in advance...
No description

SKIP_EMAIL_VERIFICATION_IN_DEV=true not working

I just upgraded my project to 0.15 and I'm trying to use SKIP_EMAIL_VERIFICATION_IN_DEV=true in my .env.server file, but it still asks me to verify on dev

Setting up new machine and wasp won't install.

@kapa.ai I'm trying to set up a new machine and the CL prompt to install won't work. I get an error saying there is no wasp version 15.2

Can't access auth methods?

I am trying to use import { getRedirectUriForOneTimeCode, tokenStore } from "wasp/server/auth"; as defined in this gist - https://gist.github.com/infomiho/3c63de7d53aba59d6293bcb59501a029 However, they aren't recognised by Wasp - I am running 0.14.2...

user context

i have made dashboards for different kinds of users by just using the admin dashboard template. i sreated a vendor dashboard (if the user is a vendor) but the messages mutton on a vendor dashboard still links to admin/messages instead of the route vendor/messages thats in the main.wasp file. is there a way around this? or do i have to repalce the messages button with another component?
No description

Connection refused on signup auth

I have generated app using usemage.ai but when I tried to signup in local development it is not working. I am getting this error...
No description

SEO snippet

In wasp how can I define what shows up in the snippet on search engine listing

Getting SDK build failures

I am getting SDK Build failures , I do not know what is the root cause nor how to fix it.

SKIP_EMAIL_VERIFICATION_IN_DEV Usage in Pipeline

I am working on creating a pipeline to run some e2e-tests where I set the SKIP_EMAIL_VERIFICATION_IN_DEV variable to true. When I run the tests locally, this variable behaves as expected where the set user doesn't need to verify their email. When I run the same tests within a bitbucket pipeline the tests are getting snagged on logging in requiring verification despite the variable being set. After reviewing the docs I see that there is specific mention of "development mode" for the usage of this variable so i'm curious if there's more to that definition? Has anyone else ran into this or has any ideas on how to get this variable to behave as expected in a bitbucket pipeline?...

Creating two log in flows for Creators and Fans

How can I create two separate log in flows for two types of users, "creators" and "fans" and how can I get this to also work with social auth like Google?

database migration

i made changes to the prisma.schema models and the dbSeeds.ts functions by adding more models and more fields. when i run wasp db migrate-dev i get an error. Error: ⚠️ We found changes that cannot be executed: • Step 0 Added the required column vendorId to the Product table without a default value. There are 70 rows in this table, it is not possible to execute this step....

apply SSOS

I want to apply Oauth for my app, can I use it to wasp? if it can be, you think how long does it take me to work?
No description

Best way of handling custom oauth call Frontend to Backend?

I am looking to allow users to connect their TikTok account. My current plan is to call a webhook from the frontend, where I would process the request and feed the response back, but what's the best way of doing it? It is a standard OAuth call.