Wasp-lang

W

Wasp-lang

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

Join

nothing shows up in localhost:3000 after wasp start

Hi everyone, as the picture shows, it says Port 3001 is already in use, opens localhost:3000 and I can't run wasp start. I terminated the process using 3001 using command prompt, tried wasp start again, and got the same error. Anyone able to shed some light on this? Thanks in advance....
No description

File-Manager troubleshooting

Hello, I generated a Files-Manager app using usemage.ai, I specified wanting to use MongoDB could for storing authentification credentials and user files. but it isn't implemented at all, also the file upload function isn't working. Can I get some help adding the feature and configuring mongoDB for storage. Thank you !

Add a new entity into the saas template

I copied Task and gave it a new name (=workflow). Now it fails during the wasp db migrate-dev. It has a problem with the new action CreateWorkflow with the data object. It seems to miss some of the new fields like workflowname. Where do I need to adjust that ? Error message:...

OpenSaas setup 'Role postgres does not exist'

Hi! I'm a bit stuck on the initial steps for openSaaS. Running on a fresh Ubuntu 22.04 VPS and following the Getting Started Docs. When doing 'wasp db migrate-dev' it takes forever(~40min now), I switched to the other terminal running the DB and can see error messages with 'Role postgres does not exist ' and 'password authentication failed for user "Postgres"'. I have done zero modifications, just following along the guide and not sure how to proceed here, new to Wasp and not sure what to adjust...
No description

What does this mean ?

I was following this tutorial https://wasp-lang.dev/blog/2023/11/21/guide-windows-development-wasp-wsl And after I typed this command : wsl --install -d Ubuntu Here's the message I encounter : Installation in progress: Virtual Machine Platform Virtual machine platform has been installed....

Teams/Groups

How would one extend the user and permissions model to have groups of users with shared access to authwalled areas? Would it make sense for this to be dynamically created roles or is there a better approach?

Axios Error

I have been following the wasp tutorial, in the fifth chapter, I am getting this axios error. Can anybody help me to fix this error? Thank you.
No description

phone verification?

So I’ve been playing with wasp and I enjoy it, and am planning on launching my app soon. But I was wondering what the communities thoughts are implementing phone verification for my users on my platform. I really need this as I want to have a strong free tier but can’t have people making multiple accounts. Any resources or options to do this with wasp? Cheers! -Mike

Wasp/OpenSaas Typescript vs Javascript

Hey everyone. I'm new to Wasp and OpenSaas and have been playing around with it a bit, as well as reading documentation. I realized that I have never really used Typescript before and it's been slightly inconvenient to understand things. So, I was wondering if it's possible for me to pull the OpenSaas code from the repo and then change the project to only have .js files rather than .ts ones? I would like to completely opt in to javascript and change all the code and file extenstions that have .ts Thank you!...

Error building after migrating Wasp to 0.12

I am getting the below error after migrating Wasp to 0.12, I am using NodeJS 20. Below is the error, how do I fix this? ``` globalThis.crypto = webcrypto as Crypto; TypeError: Cannot set property crypto of #<Object> which has only a getter at <anonymous> (/app/.wasp/out/server/src/polyfill.ts:7:21)...

Unable to run "wasp start db" in my terminal

Command is not recognized. I manually added the path to the System Variables as instructed but the command still is not recognized. I have Docker setup and running an official Postgres image. Deploying Postgres through Railway. I manually added the path to the System Variables as instructed but the command still is not recognized. C:\Users\khowz\AI Projects\wasp\test 1>wasp start db 'wasp' is not recognized as an internal or external command, operable program or batch file....

Multi-modal “AI_agent”

I want to build a Multi-modal LAM-app {Large Action/Agentic Model} that leverages the state of the art modern computer vision, image caption, chatbot conversation completion, RAG embedding vector dataset through the chain of thought architecture. The additional App function capability is to algorithmically augmented underwriting, as coverage isnurance offer (text-to-image .GIF) and potential delivery output for prevention behavior.
No description

Hi, how do you add authorization ?

After authentication it should be checked if e.g. a user has admin role to access an admin dashboard.

wasp new:ai

trying out the ai generation and i'm wondering if you can provide more details on how "creative" we can be with the description. for example, can i say "use saas and todos and embeddings templates and a cool blue color" for a description to generate all those elements in a new app? thx.

MAGE app error

@Adam created an app via MAGE: https://usemage.ai/result/064f0ec2-a9d2-4e5c-a92d-72f1b6994fe1 @Adam can you pls post here which error you're getting?...

How can I add an API to download files under a directory?

How can I add an API to download files under a directory? The frontend send a GET request like "localhost:3001/uploads/test.mp4" How can I set the main.wasp to support the download?...

Pulling new changes for OpenSaaS/Wasp while maintaining my own repository on GitHub

Hi, I would like to create my own repository on GitHub for a project I'm working on using the OpenSaas template. This way, I can track changes and collaborate. However, if there are breaking updates to wasp in the future, how would I pull those changes into my own repository where I have my project?

Edit Body Tags

Hi, is there a way to edit the body tags? I'm trying to include some min-h-screen to prevent a whitespace being created underneath the footer when scrolling, but I'm unable to add the settings to body...

I want to have a trial period before the payment start kicking in. How do I do that?

I could get the normal payment to work. I looked through stripe document, I just need to add a field for
trial_end= and billing_cycle_anchor= , I don't know how to go about doing that in the Prisma....