Comments (1)
I have the same error using
serverProcess = crossSpawn('node', [
someScriptFullPath,
'--port', serverPort,
], {
stdio: [null, null, null, 'ipc'],
});
on node 16, with nodist
I believe (in my case), that nodist is the culprit because the shim is in go, and docs says
Accessing the IPC channel fd in any way other than process.send() or using the IPC channel with a child process that is not a Node.js instance is not supported.
so it probably breaks here.
a workaround is to use fork
which does not use the shim
from node-cross-spawn.
Related Issues (20)
- Publish as global package?
- Does not work inside workers threads with custom current working directory HOT 4
- Cannot download v7.0.3 HOT 3
- Use the `/q` flag with `cmd.exe`
- use unix tools if available in windows
- Node.js spawn results in ENOENT on Termux/Android
- Support ~ (tilde) in PATH
- spawnSync freezes
- double quotes in arguments HOT 4
- windowsHide option
- Stop Child Process on SIGINT HOT 1
- Block or remove please
- In Windows, spawn.kill() doesn't kill child process
- process.version is undefined HOT 2
- The command itself is not properly escaped
- error is null
- apple m1 throw error
- is cross-spawn has asynchronous method ? HOT 2
- Error: spawn rm ENOENT HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-cross-spawn.