looking for help trying to wasp start - keep getting node:events:496[ Client!] throw er; // U

I keep getting this error - have the rest upon request. I've stackoverflow'd, googled my heart out, nothing seems to be working. Issue spawning powershell from mnt/c help is appreciated, thanks in advance
4 Replies
TheDork
TheDorkOP9mo ago
@martinsos seems you might be able to assist? not sure though. running through current posts and have seen you called in to help reference for anyone else JIC: node:events:496 [ Client!] throw er; // Unhandled 'error' event [ Client!] ^ [ Client!] [ Client!] Error: spawn /mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe ENOENT [ Client!] at ChildProcess._handle.onexit (node:internal/child_process:286:19) [ Client!] at onErrorNT (node:internal/child_process:484:16) [ Client!] at process.processTicksAndRejections (node:internal/process/task_queues:82:21) [ Client!] Emitted 'error' event on ChildProcess instance at: [ Client!] at ChildProcess._handle.onexit (node:internal/child_process:292:12) [ Client!] at onErrorNT (node:internal/child_process:484:16) [ Client!] at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { [ Client!] errno: -2, [ Client!] code: 'ENOENT', [ Client!] syscall: 'spawn /mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe', [ Client!] path: '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe', [ Client!] spawnargs: [ [ Client!] '-NoProfile', [ Client!] '-NonInteractive', [ Client!] '–ExecutionPolicy', [ Client!] 'Bypass', [ Client!] '-EncodedCommand', [ Client!] 'UwB0AGEAcgB0ACAAIgBoAHQAdABwADoALwAvAGwAbwBjAGEAbABoAG8AcwB0ADoAMwAwADAAMAAvACIA' [ Client!] ] [ Client!] } idk what happened. stopped tinkering for a bit, switched over to a PHP/js project im working on.... came back to WSL/ubuntu... re ran wasp start and it launched the "new application" app. at :3000 just fine now I am getting errors from Prisma trying to compile the MAGE generated app the AI made. I guess consider this post closed.. will dive into the new issues tomorrow
miho
miho9mo ago
Glad you worked it out in the end! We have a great article about WSL if you get stuck on that part: https://dev.to/wasp/supercharge-your-windows-development-the-ultimate-guide-to-wsl-195m Regarding Mage error, yep, sometimes it makes a mistake and you need to fix some of the file names or function names 🙂
DEV Community
Supercharge your Windows Development: The Ultimate Guide to WSL 🚀📟
Hi! I’m Boris! I’m a software engineer working professionally in insurance, teaching other...
TheDork
TheDorkOP9mo ago
Thanks for this! Yeah I'm so new to wasp that I'm not even sure where to begin with the new error other than I know it's DB related. Making a new post to try to tackle this issue
MEE6
MEE69mo ago
Wohooo @TheDork, you just became a Waspeteer level 1!
Want results from more Discord servers?
Add your server