Ask coding questions

← Back to all posts
Node Js Command Line
vedprad1 (461)

Node Js Command Line

Is it possible to do command line codes in node js?

For example, I was trying to do this: brew install sox, but it did not work.

CBlockSurprise (16)

To install sox, go to package.json and add "sox": "latest", to the dependencies list.

vedprad1 (461)

@CBlockSurprise : I have tried that already. I am getting a spawn sox ENOENT error from my program, which can be found here. After searching on the internet, I found out that you have to command line brew install sox to fix the problem, but that is not working. Thanks for your effort, though!