Skip to content
Sign upLog in
← Back to Community

Node Js Command Line

Profile icon
vedprad1

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.

Voters
Profile icon
chandrasans
Profile icon
tibolaraignee
Profile icon
divyanshugupta
Profile icon
vedprad1
Comments
hotnewtop
Profile icon
CBlockSurprise

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

Profile icon
vedprad1

@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!

Profile icon
tibolaraignee

/ban