denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
94.29k stars 5.24k forks source link

Uncaught Error: Not implemented: Pipe.prototype.listen - Windows #25867

Open sschneider-ihre-pvs opened 2 hours ago

sschneider-ihre-pvs commented 2 hours ago

Version: Deno 2.0.0-rc.5 (release candidate, release, x86_64-pc-windows-msvc)

When I run deno run -A .\node_modules\nx\bin\nx.js serve projectName

I get the following error

detached processes are not currently supported on Windows
detached processes are not currently supported on Windows
detached processes are not currently supported on Windows
errorerror: : Uncaught Error: Not implemented: Pipe.prototype.listen - Windows
    at notImplemented (ext:deno_node/_utils.ts:9:9)
    at Pipe.listen (ext:deno_node/internal_binding/pipe_wrap.ts:144:7)
    at Server._setupListenHandle [as _listen2] (node:net:1178:28)
    at _listenInCluster (node:net:1012:12)
    at Server.listen (node:net:1278:7)
    at Object.<anonymous> (file:///<HOME>/deno-2-test/node_modules/.deno/nx@19.7.4/node_modules/nx/src/project-graph/plugins/isolation/plugin-worker.js:146:8)
    at Object.<anonymous> (file:///<HOME>/deno-2-test/node_modules/.deno/nx@19.7.4/node_modules/nx/src/project-graph/plugins/isolation/plugin-worker.js:160:4)
    at Module._compile (node:module:748:34)
    at Object.Module._extensions..js (node:module:767:10)
    at Module.load (node:module:665:32)Uncaught Error: Not implemented: Pipe.prototype.listen - Windows
    at notImplemented (ext:deno_node/_utils.ts:9:9)
    at Pipe.listen (ext:deno_node/internal_binding/pipe_wrap.ts:144:7)
    at Server._setupListenHandle [as _listen2] (node:net:1178:28)
    at _listenInCluster (node:net:1012:12)
    at Server.listen (node:net:1278:7)
    at Object.<anonymous> (file:///<HOME>/deno-2-test/node_modules/.deno/nx@19.7.4/node_modules/nx/src/project-graph/plugins/isolation/plugin-worker.js:146:8)
    at Object.<anonymous> (file:///<HOME>/deno-2-test/node_modules/.deno/nx@19.7.4/node_modules/nx/src/project-graph/plugins/isolation/plugin-worker.js:160:4)
    at Module._compile (node:module:748:34)
    at Object.Module._extensions..js (node:module:767:10)
    at Module.load (node:module:665:32)

error: Uncaught Error: Not implemented: Pipe.prototype.listen - Windows
    at notImplemented (ext:deno_node/_utils.ts:9:9)
    at Pipe.listen (ext:deno_node/internal_binding/pipe_wrap.ts:144:7)
    at Server._setupListenHandle [as _listen2] (node:net:1178:28)
    at _listenInCluster (node:net:1012:12)
    at Server.listen (node:net:1278:7)
    at Object.<anonymous> (file:///<HOME>/deno-2-test/node_modules/.deno/nx@19.7.4/node_modules/nx/src/project-graph/plugins/isolation/plugin-worker.js:146:8)
    at Object.<anonymous> (file:///<HOME>/deno-2-test/node_modules/.deno/nx@19.7.4/node_modules/nx/src/project-graph/plugins/isolation/plugin-worker.js:160:4)
    at Module._compile (node:module:748:34)
    at Object.Module._extensions..js (node:module:767:10)
    at Module.load (node:module:665:32)

 NX   Failed to start plugin worker.

Is that a compatibility issue, a nx issue or a windows issue?

bartlomieju commented 2 hours ago

It's a compatibility issue. This API is not yet supported in Deno.

sschneider-ihre-pvs commented 2 hours ago

ok. At least I got that question out of the way :D

sschneider-ihre-pvs commented 2 hours ago

Is there a workaround or something?

bartlomieju commented 2 hours ago

I'm not really familiar with internals of nx, but I'm afraid there might not be a workaround at the moment.