W
Wasp-langterrence

running wasp inside google idx error

I am trying to setup the dev environment test out opensaas with google online ide idx, but when I try to run command: wasp db migrate-dev wasp-bin: script: streamingProcess: exec: invalid argument (Bad file descriptor) Is this fixable? I think the IDX system is Nix, so maybe it's not compatible? I should avoid this online IDE in order to make it work? Thank you. 🐝 --- Compiling wasp project... -------------------------------------------------- [ Wasp ] Starting npm install [ Wasp ] [ Wasp ] removed 11 packages, and audited 833 packages in 4s ...... ...... βœ… --- Your wasp project has successfully compiled. ------------------------------- 🐝 --- Starting database migration... --------------------------------------------- wasp-bin: script: streamingProcess: exec: invalid argument (Bad file descriptor) @Wasp Team @Wasp Expert
M
mihoβ€’17d ago
Hmm how can we get access to IDX? 🀨 I don't have access to test it out unfortunately. Could share some details about the system like which OS it it and which version of Node.js is it running?
T
terrenceβ€’17d ago
Node.js v20.11.1. and it uses nix to define packages etc uname -a Linux monospace-aiapp-1712068202823 6.1.75+ #1 SMP PREEMPT_DYNAMIC Fri Mar 1 15:14:26 UTC 2024 x86_64 GNU/Linux
M
MEE6β€’17d ago
Wohooo @terrence, you just became a Waspeteer level 1!
M
mihoβ€’17d ago
Maybe try running wasp clean then wasp start again πŸ˜„ Did you successfully work with Primsa on IDX before?
T
terrenceβ€’16d ago
this is first time try IDX, in the begining it complains about no openssl, I added this package, it passed first round, then this error occured, stucked here... tried wasp clean, when I run wasp db migrate-dev, same error.
M
mihoβ€’16d ago
Since this error seems somehow related to Prisma, I'd maybe try a simple Prisma app to see what happens:
npx try-prisma@latest --template javascript/rest-express
cd javascript_rest-express
npx prisma migrate dev
npm run dev
npx try-prisma@latest --template javascript/rest-express
cd javascript_rest-express
npx prisma migrate dev
npm run dev
And then try to load the API at http://localhost:3000/users πŸ˜„ This is just trying to narrow down for which part IDX fails.
T
terrenceβ€’16d ago
woking on this, will update you shortly
T
terrenceβ€’16d ago
here is the api endpoint: https://3000-monospace-cuai-1712031728728.cluster-hf4yr35cmnbd4vhbxvfvc6cp5q.cloudworkstations.dev/users [{"id":1,"email":"alice@prisma.io","name":"Alice"},{"id":2,"email":"nilu@prisma.io","name":"Nilu"},{"id":3,"email":"mahmoud@prisma.io","name":"Mahmoud"}] everything seems works fine
Want results from more Discord servers?
Add your server
More Posts
App crashed for unknowing reasonHey, I start the app when it's still v-0.12.0, it works fine till today, nothing changed on my end btrying to run wasp.sh server on dockerHey guys, so I tried dockerising wasp-sh after I saw it on your recent reddit post. 1. I created aConfused about [Client ]HMR[Wasp 0.13.0, MacOs] Hey guys, I am trying to update wasp header/nav bar to a new style with framerIssue with deploying my wasp app to fly.ioI'm trying to deploy my wasp app to fly.io, but I'm encountering an error that doesn't make sense. Whas anyone got shadcn to work with wasp? I am trying but keep getting an errorAttached is the error I am currently getting. Just wondering if anyone has had success with it?"wasp start db" takes too much time.Any solution for this? i seem to be stuck in a loop and i can't do "Wasp start" until this resolves.Best Practices for Implementing Auth System in Chrome Extension Connected to OpenSaaSHello, everyone! I'm currently developing a SaaS product and have created a Chrome extension. I'm aCompile / Parse error with the ToDoApHello all , I just downloaded and installed Wasp on Windows 11 with WSL2. The installation wenPossibility to disable wasp reload on UI file changes?Hey my dudes, is it possible to calm down this guy on the screenshot from reloading everything everyWhat's the best way to start with Wasp?I'm looking for the best way to start with learning Wasp.onAuthSucceededRedirectTo previous siteWhen I open a Link in my app where Auth is required but my session expired, I get redirected to the Is there something missing? :(I'm following this guide. https://wasp-lang.dev/blog/2023/11/21/guide-windows-development-wasp-wsl Bdynamic variables in main.waspIs it currently possible to dynamically change configuration values in main.wasp? E.g for developmGoogle Auth in ProdI made my first try with the wasp deployment. So far its pretty straightforward, directly deploy to How can I get current theme colors and set them to div ?I want to set background of a div according to the current selected theme. if dark theme is selecteCalling queries without useQuery hookHi, I'm trying to call a query directly, from the client, without using the hook, but couldn't figurchat gpt integration docshi, is it possible to read some docs on chat gpt integration with wasp? I think it can be useful forAxiosErrorHi! I'm encountering an error where the simple query for the demo ToDoApp using an SQLite DB, does nNeed help with joined tablesHi, I have some relations in my data schema. I have the type "questionnaire" which is linked to an opensaas recompileHi guys, I used opensaas to develop a sass, I just replace some content in LandingPage.tsx,and my pr