Windows Error
running below command
npm start
how to solve it?
[email protected] start npm run build:ts && node ./tools/run-selfhosted.js
[email protected] build:ts tsc
[BOOT/INFO] configuration F:\\artificial-intelligence\\mlproject\\agentic_AI\\my-node-server\\puter\\volatile\\config
[BOOT/INFO] working directory F:\\artificial-intelligence\\mlproject\\agentic_AI\\my-node-server\\puter\\volatile\\runtime
WORKERS ERROR: Preamble has not been built! Workers will not have access to puter.js
To fix this cd into src/backend/src/worker and run npm run build
node:internal/child_process:420
throw new ErrnoException(err, 'spawn');
^
Error: spawn EINVAL at ChildProcess.spawn (node:internal/child_process:420:11) at spawn (node:child_process:786:9) at Kernel.run_npm_install (F:\artificial-intelligence\mlproject\agentic_AI\my-node-server\puter\src\backend\src\Kernel.js:581:22) at Kernel.install_extern_mod_ (F:\artificial-intelligence\mlproject\agentic_AI\my-node-server\puter\src\backend\src\Kernel.js:422:20) at async Promise.all (index 3) at async Kernel.install_extern_mods_ (F:\artificial-intelligence\mlproject\agentic_AI\my-node-server\puter\src\backend\src\Kernel.js:285:30) at async Kernel._install_modules (F:\artificial-intelligence\mlproject\agentic_AI\my-node-server\puter\src\backend\src\Kernel.js:168:9) at async F:\artificial-intelligence\mlproject\agentic_AI\my-node-server\puter\src\backend\src\Kernel.js:139:13 at async F:\artificial-intelligence\mlproject\agentic_AI\my-node-server\puter\src\backend\src\util\context.js:197:20 at async Context.arun (F:\artificial-intelligence\mlproject\agentic_AI\my-node-server\puter\src\backend\src\util\context.js:195:16) { errno: -4071, code: 'EINVAL', syscall: 'spawn' }
Node.js v22.18.0
Are you trying to run with or without puter workers? What's the expected end result here? If you aren't trying to use puter workers that specific "workers error" error can be safely ignored. This feature requires a cloudflare workers for platforms API key and dispatch namespace to be setup
can you give me the output of
git status
This issue isn't related to workers but related to windows
Do we have an update on this?
I think it works now but I'll have to test again
I encountered the same error today ( windows error)
https://github.com/user-attachments/assets/92745daa-8e8e-4bda-a758-6015fe79556a