"child-process" should be a built in node library. However, when I type "require('child-process') in the node shell, I get the error: "Cannot find module 'child-process'". Any ideas why this might be happening?
Use require('child_process');
(with underscore, not hyphen).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With