Godspeed1337
Godspeed1337
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
I had to use ulimit -n 10000 to bypass that error.
43 replies
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
@miho @Vinny (@Wasp) Do you have any idea what could cause the following error when running wasp start I am using the latest version of wasp. wasp-bin: app/src/client/icons/[some files]: openFile: resource exhausted (Too many open files)
43 replies
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
Looks like a polyfill for node 18, the error only shows up on Node > 18.18.0
43 replies
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
The only part I am yet to solve is this node:crypto error, I am getting this in my terminal.
File: /app/.wasp/out/server/src/polyfill.ts:7
globalThis.crypto = webcrypto as Crypto;
TypeError: Cannot set property crypto of #<Object> which has only a getter
at <anonymous> (/Users/Dealwap/Desktop/resume-sass/app/.wasp/out/server/src/polyfill.ts:7:21)
File: /app/.wasp/out/server/src/polyfill.ts:7
globalThis.crypto = webcrypto as Crypto;
TypeError: Cannot set property crypto of #<Object> which has only a getter
at <anonymous> (/Users/Dealwap/Desktop/resume-sass/app/.wasp/out/server/src/polyfill.ts:7:21)
43 replies
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
I was getting the apiUrl from the config file in the previous version, the new version somehow doesn't have apiUrl anymore.
43 replies
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
Yip!! @Filip @Vinny (@Wasp) I just confirmed the migration tool changed the config to import from server file, I saw import { config } from 'wasp/server'; Thanks you guys!
43 replies
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
43 replies
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
Almost like the app is not building properly, I added the PORT to .env.server file, but the app still had the error in browser console
Uncaught ReferenceError: process is not defined
at config.ts:40:20
Uncaught ReferenceError: process is not defined
at config.ts:40:20
Is there a specific Node version that Wasp works with? I have tried version 19 and 20, same issue persisted.
43 replies
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
No description
43 replies
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
No, I didnt modify the content of .wasp folder, I have executed wasp clean and did a fresh wasp start stil same error.
43 replies
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
.env.server is inside the app folder, I am using open-saas.
43 replies
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
@Filip The error is coming from config.ts inside the sdk folder.
43 replies
WWasp-lang
Created by Godspeed1337 on 2/28/2024 in #đŸ™‹questions
Error building after migrating Wasp to 0.12
I am also getting: Uncaught ReferenceError: process is not defined This used to work, it started after migrating to latest Wasp version
43 replies