Wasp-lang

W

Wasp-lang

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

Join

Embeddings template needs pinecone update

Similar to https://github.com/wasp-lang/wasp/issues/1725, but now pinecone has released v3 which removes the need for an environment when setting up the API. This makes the tutorial a bit confusing as the example .env file includes PINECON_ENV of which there is now no reference on the Pinecone site. Recommend upgrading to Pinecone ^3.0.2, removing reference to PINECONE_ENV and adding a spec property in the generateEmbeddings.ts file as per pinecone docs ```ts await pinecone.createIndex({ // add this...

Added a new page, can't get it to load

Hi I am new here so please bear with the newbie question! I am using the default saas template [option 3 when running wasp new]. In the main.wasp file I have created a new route and page, and also created the tsx file for the page and referenced it's location correctly. However the page is blank when I navigate to it in my browser. Note sure what I am doing wrongly main.wasp code...

Binary for ARM64?

I am very interested in using wasp but the servers have Ubuntu ARM64 architecture and noticed you only provide a binary for x86. Any way I’d be able to this on my servers? Or potentially set up a workflow so that I can run the binary locally but work on the codebase remotely?...

Deploying Migration fails

During the server build process, I keep getting this error message:
[email protected] db-migrate-prod prisma migrate deploy --schema=../db/schema.prisma
Prisma schema loaded from ../db/schema.prisma...

want to redirectTo=customURL after login

trying to log a desktop client. desktop client sends /login?authKey=XXX i want to write logic that if authkey is present redirectTo /loginSuccess if not default behaviour. I didn't find a hook for this, wondering if you have any ideas?

Is there a table component?

Hi, I'm new here. Just wanted to know if there's a table component I can import. I need a dashboard and a table page that shows users can see their product database they put in....

hot swapping auth

Background: I've got a wasp app running username and password -NOTE: the app has actions and queries that refer to the username (provideUserId) in order to display it in the ui Wasp version: 0.14.0 Platform: MacOS Sonoma 14.1.1 ...
No description

[RESOLVED] http://localhost:3000/ is just blank page? Everything on installed seemed fine?

I installed and followed the openSaaS installation guide carefully, I'm on an M2 Mac, when I run "wasp start" in my app directory, it just navigates me to a blank page. I think I did everything right? The example blog seems to be working.. Any help much appreciated lol.
No description

User dropdown and Auth not visible/working upon deployment

Hello, So i have deployed my app using fly.io and neither the user menu dropdown nor authentication is working as it should, i have experienced the same issue when not connectected to the internet but i did not imagine i would come across it in production does anyone know how to fix this?...

Update Wasp AI to use latest GPT model

I would like to ge use the WASP AI feature however it is very expensive as it is still using the gpt-4-0613 model. Would it be possible to update this to use gpt-4o which is a lot cheaper?

Render for deployment a good choice?

I am looking to build a web app and trying to decide which provider to deploy on. I like Render very much from a dev experience perspective. I notice it is not on the list of supported providers for Wasp. Is it going to be a blocker? Or is there a standardised deployment method regardless of provider?

Best Way of Migrating DB on deployed project?

When I'm running locally and my schema changes, I just run wasp db migrate-dev - what's the best approach for this when I have a production environment deployed?

Scaling

If i wanted to scale the backend server or put it behind a load balancer, how should i go ahead about doing it?

Did I accidentally delete a folder/files? 'wasp/client/router' & 'wasp/client/auth'

Extreme newbie, I may be way off base but I feel like I am missing two files.
No description

How to get custom import aliases

how can i implement custom import aliases in wasp? for example shadcn ui library

How to create and use a custom template?

How do I create a template and how do I use it once it is created?

wasp start

Can the 'wasp start' take arguments so I can specify a development version of the env.server file which includes Dummy email provider. This is more for convenience.

Can you eject?

In the off chance that i wanted to eject from wasp and continue standalone development would taking the code out of .wasp be viable ?

How to Automatically Create Default Values in a Related Table on User Signup?

Version: 0.13.2 I'm building a project using Wasp-lang where I need to automatically create default entries in a Priority table whenever a user signs up via Google Auth (no custom fields). Specifically, when a new user is registered, I want to insert predefined rows in the Priority table linked to that user. What is the recommended approach for implementing this logic in Wasp-lang following best practices? Should I use a signup hook, or is there another method I should consider?...

What causes this rollup error?

What causes this rollup error when running wasp start? ``` [!] RollupError: src/server.ts (6:7): "default" is not exported by "../../../src/ServerSetup.ts", imported by "src/server.ts". [ Server!] https://rollupjs.org/troubleshooting/#error-name-is-not-exported-by-module [ Server!] src/server.ts (6:7)...