Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

npm install child_process not working

Tags:

node.js

I wanted to use child_process module to run a script from node.js but when I run command

npm install child_process I get the following error :

npm http GET https://registry.npmjs.org/ChildProcess
npm http 404 https://registry.npmjs.org/ChildProcess
npm ERR! 404 'ChildProcess' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it

Just wondering is the child_process module removed or am I misspelling the module name.

Thanks.

like image 493
Android Beginner Avatar asked Jun 01 '13 11:06

Android Beginner


1 Answers

You don't have to install it as a module, it comes bundled with node.js. http://nodejs.org/api/child_process.html

like image 140
Chris Avatar answered Sep 21 '22 18:09

Chris