Wasp

W

Wasp

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

Join

In development mode can I change the hostname of the server to something other than "localhost?"

I'd like to load my development site from my phone and other machines on my local network. I'm able to pull up the front-end on my phone, but the app doesn't work, because it sends all the server requests to "localhost:3000." I tried setting WASP_SERVER_URL but it didn't work.

waspc_datadir

Is there a reason why wasp's installer packages these TS apps in it's data directory? the documentation says this:
Wasp bundles some TypeScript packages into the installation artifact (eg: deployment scripts), which end up in the installed version's waspc_datadir. To do so in CI, it runs ./tools/install_packages_to_data_dir.sh.
But looking at references to the waspc_datadir, it's not used...

Stripe Problem! Everything works on dev, but not on prod

Classic, everything works on my end but not on prod. I highly suggest everyone to make a 100% coupon before your customers complain! When running on dev with the stripe webhook everything is fine and dandy. When running on prod with stripe and fly, I get 200s and delivered. ...

I get a blank page after running "cd <my-project-name>wasp start" (already migrated the db).

In the source code it says javascript must be enabled (see image) but it is enabled in my browser. I also get the following error in the console: Uncaught SyntaxError: The requested module 'http://localhost:3000/@fs/Users/phplaravel/Desktop/Flashcardsapp-z23my/.wasp/out/sdk/wasp/dist/client/router/index.js' doesn't provide an export named: 'useParams'. I hope someone can help me. ThaNKS...
No description

Deploying Manually

I followed this guide: https://gist.github.com/infomiho/80f3f50346566e39db56c5e57fefa1fe Unfortunately, when I try to signup, it returns 500. Here is the docker log for it: POST /auth/email/signup 500 53.781 ms - 148 PrismaClientKnownRequestError: Invalid prisma.authIdentity.findUnique() invocation:...

Hosting a Wasp project?

Hi, I recently have created a webapp using Wasp. But the wasp docs are a little confusing with how hosting works. In my experience, when I've completed websites in the past, I just throw everything (frontend, backend, db) into docker containers and run it all off a cheap $4/month vps, or my own home server. I see most of the options require 2 different services, 1 for the frontend and a complete different service for the frontend and backend? Why is that? What's stopping us from just running eve...

email send error

@kapa.ai followed the send grid instrcutions, got this Server!] Failed to send email ResponseError: Forbidden [ Server!] at /home/brad/haystack30/app/node_modules/@sendgrid/client/src/classes/client.js:146:29 [ Server!] at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { [ Server!] code: 403, [ Server!] response: {...

remove existing metered stripe plan

@kapa.ai how do i remove the credits plan from the website?

Would wasp be efficient enough for a bill payment web app?

Would Wasp be efficient enough for building a full-fledged bill payment web app? Can it handle complexities like real-time updates using WebSockets, payment integrations, and scaling with a DigitalOcean database?

Can I integrate wasp into existing React App?

Hi, so I’m building an Ai Tool. I’ve created most of the frontend and was just about starting on NodeJS when I came across wasp. Can I integrate wasp into my existing frontend?

cannot use local host

Hi, wasp db startdoes not work on my laptop #🙋questions . How can I solve this issue? @WaspBot

Cannot find package 'vitest' imported from

Fresh installment of wasp 0.15.2 with opensaas gives me this - i already tried doing wasp clean
No description

Prisma: has no exported member

I am trying to install the opensaas template with wasp 0.15.2 but getting this: ``` [ Wasp ] auth/providers/types.ts(11,37): error TS2694: Namespace '"/mnt/projects/challenge/nodeflowai/nodeflowai/app/.wasp/out/sdk/wasp/node_modules/.prisma/client/default".Prisma' has no exported member 'UserCreateInput'. [ Wasp ] auth/utils.ts(132,17): error TS2694: Namespace '"/mnt/projects/challenge/nodeflowai/nodeflowai/app/.wasp/out/sdk/wasp/node_modules/.prisma/client/default".Prisma' has no exported member 'AuthWhereInput'. [ Wasp ] auth/utils.ts(193,27): error TS2339: Property 'PrismaClientKnownRequestError' does not exist on type 'typeof Prisma'....

Can I kick off an `action` from within a query?

If one of my queries finds that there are no results in the DB its search, I want to asynchronously kick off an "action" that I have to populate the DB. Am I allowed (in WASP) to send an action from within a query?

Having Trouble Getting my UI to behave

Hi everyone, I'm experiencing an issue with a 3D model in my project. It's supposed to stay within its bounding box (or allocated area), but when I resize the page, it moves outside of its designated space. I'm also seeing the same problem on mobile, where the 3D model overlaps the text below it. ...

Wasp uses tanstack v4, while another dependency I'm importing using V5, anyway to do both?

wasp version: 0.15.2 As the title states above, wasp uses v4 so my useQuery is in V4, I require another component that uses V5, when using the component I get a lot of missing states because of the verison miss match....

Railway server deploy errors

``` Dockerfile:83 ------------------- 81 | WORKDIR /app 82 | COPY . . 83 | >>> RUN wasp build...

console database

I want to show all the value of group but I donw know how, can you help me? I just know get data of user using useAuth()

systemctl start wasp.service

i'm trying to get the wasp website and db to auto start on the server. this is my wasp.service file. i'm not sure what's needed [Unit] Description=Wasp Web Site...

Updating CORS settings for myapp-server

Hi everybody, currently playing around with my webapp beta version on fly.io and I wanted to connect it to my custom domain. Did anyone ever try to update the CORS settings for the myapp-server part of a Wasp app? I have my webapp hosted on fly.io and have successfully added a certificate to route my custom-domain.com traffic to the myapp-client.fly.dev domain. This works like a charm, however this is not compaible with the myapp-server since it does not allow my custom-domain.com to access it. My browser terminal gives me a 401 error from myapp-server, so it is a CORS issue. How can I fix this? From my understanding, all i would have to do is add custom-domain.com to the allowed domains, right? I could already gather that localhost is set by default from issues on GitHub (https://github.com/wasp-lang/wasp/issues/94, https://github.com/wasp-lang/wasp/pull/206), but did not find a way to manually add my custom-domain before deploying. I also tried adding a certificate to myapp-server hoping that would fix it, but this alone is not sufficient....
Next