Wasp-lang

W

Wasp-lang

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

Join
Sterling1060
Sterling10605/11/2024

Graph database integration

Hi there, any advice for trying to get a Graph DB backend? I'm trying to do some network searching, would it just be easier to use Postgress Also can I connect more than one DB type. Eg SQL for logins but graph for friends...
|•°•|
|•°•|5/10/2024

Showing no such file or directory when I do wasp db migrate-dev

I copied my folder to WSL, and then opened that folder in WSL, and ran the command
No description
ellie
ellie5/9/2024

Server listen addr when deploying to fly.io

I'm on MacOS using wasp 0.13.0. For some reason when my server deploys (both with wasp deploy fly deploy and the manual fly deployment flyctl deploy --remote-only --config ../../fly-server.toml I'm getting an errors about it not listening on the proper addr/port? `[error][PC01] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on) ... [info]waiting for machine to be reachable on 0.0.0.0:8080 (waited 10.399511506s so far)...
MujahidPH
MujahidPH5/9/2024

how to optimize image loading in OpenSaas Project?

How to optimize image loading like Next js? can anyone help me to solve this issue. right now image are loading too much.
Karan
Karan5/9/2024

Disable Plausible and enable Google Analytics

I keep seeing this on server side logs. Can you tell me how I can disable Plausible and enable Google Analytics? Right now I am changing the code imports in calculateDailyStats.js manually before my deploy (yet to test this out): ``` // import { getDailyPageViews, getSources } from './plausibleAnalyticsUtils.js'; import { getDailyPageViews, getSources } from './googleAnalyticsUtils.js';...
Ninja++
Ninja++5/9/2024

Path error

WARNING: It looks like '/Users/milesscott/.local/bin' is not on your PATH! You will not be able to invoke wasp from the terminal by its name.
You can add it to your PATH by adding following line into your profile file (~/.profile or ~/.zshrc or ~/.bash_profile or ~/.bashrc or some other, depending on your configuration):
export PATH=$PATH:/Users/milesscott/.local/bin
WARNING: It looks like '/Users/milesscott/.local/bin' is not on your PATH! You will not be able to invoke wasp from the terminal by its name.
You can add it to your PATH by adding following line into your profile file (~/.profile or ~/.zshrc or ~/.bash_profile or ~/.bashrc or some other, depending on your configuration):
export PATH=$PATH:/Users/milesscott/.local/bin
I have tried to edit this path file but i really don't understand what i am doing. Here is my attempt to edit the file below....
Julien
Julien5/9/2024

Activation of Google and GitHub AUTH on saas project

Hello everybody ! Pretty new to wasp, and even on web dev. I am currently working on the SaaS template and wanted to activate Google & GitHub AUTH. I activated it in the auth dictionnary, and the buttons appear on the login page. The problem is that when I click either of them, it redirects me on this url http://localhost:3001/auth/google/login which doesn't exist. I may be missing something but right now, I don't understand the problem. Thanks for your advices...
Karan
Karan5/8/2024

Turning off ASCII color logging in PROD

I have deployed my opensaas template on AWS App Runner and viewing the logs in CloudWatch is really ugly because ASCII Color logging is not supported. Can I turn off colored logging on PROD?
Karan
Karan5/8/2024

Getting error on Google Auth deployed version (using MacOS) and wasp version 0.13.2

Getting "An unknown error occurred while trying to log in with the OAuth provider." Google was working fine on localhost, but once deployed it is no longer working.
Arnab
Arnab5/8/2024

stripe issues

Hi I'm following the instructions and trying to get the customer portal link activated. "Note that there are variables set aside for your test portal link, as well as a production portal link. You will be warned in the console if you there is no link in the development environment, but the app will throw an error if there is no link in the production environment!" Please help me understand exactly what I need to have in the constant.ts file to launch...
jindo
jindo5/8/2024

OpenSaas template updates pull into project

Hi there! My question would be if there are any updates on the OpenSaas templates, how can we pull this into our project where we have our own repository?
marc
marc5/6/2024

How does one go about creating their own server-side API endpoint to interact with in the frontend?

wasp version 0.13.2 Platform: MacOS Hey! Quick question, is there documentation lying around somewhere regarding a guide to creating your own API endpoint in order to interact with it in the frontend without messing with authorizations and backend logic? ...
MonsieurAki
MonsieurAki5/6/2024

Prisma client generation failed

Hello ! I have problem when i make wasp start or wasp db migrate , i have "prisma client generation failed with exit code:1" can you helpe me ? please
cking!M
cking!M5/6/2024

WASP AI feature - still using old OpenAI models?

I am trying to use the WASP AI feature to generate an app with the OpenSaaS template. It appears the WASP AI still uses the old models gpt-4-0613. How can I update this with the latest one: gpt-4-turbo?
Estelle
Estelle5/6/2024

RollupError

I try to deploy but I have this error: ``` #0 7.556 [!] RollupError: Could not resolve "../../../../../src/libs/stripe/server/queries/setupIntentSecret" from "src/queries/setupIntentSecret.ts" #0 7.556 src/queries/setupIntentSecret.ts...
oli
oli5/5/2024

CSS bugs after installing shadcn

I followed this for shadcn: https://gist.github.com/infomiho/b35e9366e16913949e13eaba0538f553 which does work and i can see the component when i put it in the file, but it then messes up some of the css on the site, e.g. in dark mode the middle section is still white but the outer is in dark mode...
No description
cking!M
cking!M5/5/2024

Trying to clone ChatGPT's UI for an multi-AI agent app powered by AutoGen

I just found opensaas and I'm excited at it's seemingly endless potential. I am building a chat app that will offer autonomous multi agent automation with AutoGen via a ChatGPT-like UI. Originally I looked at using the Chainlit framework for the front end but it doesn't seem to offer the flexibility to clone the UI of ChatGPT. Is this achievable with OpenSaas? Are there any templates available that are clones of ChatGPT?...
Louis Deconinck
Louis Deconinck5/5/2024

Dummy Email Provider OpenSaas

I will only be using Google OAuth for authentication and no email authentication (OpenSaas). Do I still need a email provider? The docs (https://docs.opensaas.sh/guides/email-sending/) state the following: "Note that your app will not build if using the Dummy provider and you must switch to a production-ready provider in order to do so."...
Kbk
Kbk5/5/2024

Deploying on fly.io

Hello, I got stuck when trying to deploy using command wasp deploy fly deploy I made launch and setup, I have active db on fly.io. Frontend server app are "pending". While trying to make deploy i got error with prisma in console...