Python Hello World error -4094

As in title. Trying to run the Python workers hello world given in the documentation produces an error code -4094.
5 Replies
Kris
KrisOP8mo ago
C:\Users\chris\AppData\Local\npm-cache\_npx\d77349f55c2be1c0\node_modules\wrangler\wrangler-dist\cli.js:29573
throw a;
^

Error: spawn UNKNOWN
at ChildProcess.spawn (node:internal/child_process:413:11)
at Object.spawn (node:child_process:757:9)
at Runtime.updateConfig (C:\Users\chris\AppData\Local\npm-cache\_npx\d77349f55c2be1c0\node_modules\miniflare\dist\src\index.js:4989:57)
at async #assembleAndUpdateConfig (C:\Users\chris\AppData\Local\npm-cache\_npx\d77349f55c2be1c0\node_modules\miniflare\dist\src\index.js:8982:30)
at async Mutex.runWith (C:\Users\chris\AppData\Local\npm-cache\_npx\d77349f55c2be1c0\node_modules\miniflare\dist\src\index.js:3500:16) {
errno: -4094,
code: 'UNKNOWN',
syscall: 'spawn'
}

Node.js v18.17.1
C:\Users\chris\AppData\Local\npm-cache\_npx\d77349f55c2be1c0\node_modules\wrangler\wrangler-dist\cli.js:29573
throw a;
^

Error: spawn UNKNOWN
at ChildProcess.spawn (node:internal/child_process:413:11)
at Object.spawn (node:child_process:757:9)
at Runtime.updateConfig (C:\Users\chris\AppData\Local\npm-cache\_npx\d77349f55c2be1c0\node_modules\miniflare\dist\src\index.js:4989:57)
at async #assembleAndUpdateConfig (C:\Users\chris\AppData\Local\npm-cache\_npx\d77349f55c2be1c0\node_modules\miniflare\dist\src\index.js:8982:30)
at async Mutex.runWith (C:\Users\chris\AppData\Local\npm-cache\_npx\d77349f55c2be1c0\node_modules\miniflare\dist\src\index.js:3500:16) {
errno: -4094,
code: 'UNKNOWN',
syscall: 'spawn'
}

Node.js v18.17.1
Kris
KrisOP8mo ago
Kris
KrisOP8mo ago
Someone asked me to try it without VSCode, no difference
Kris
KrisOP8mo ago
No description
Kris
KrisOP8mo ago
...i reinstalled node.js and it fixed it
Want results from more Discord servers?
Add your server