Closed cluber22 closed 4 years ago
That's not how Node CLI apps work. You have to install with the -g
because it sets up a link in the global bin
directory. If you want to use it locally, you have to reference it from the relevant node_modules
directory... i.e. instead of running grunt
, you have to run node .\node_modules\grunt\bin\grunt.js
(or whatever the path is to the CLI file).
Closing as this is not a node-windows issue.
I am trying to install grunt-cli locally but it is not working. I am running the below commands as admin.
The reason I'm running here is because I'm trying to run a node package via https://github.com/coreybutler/node-windows however it's erroring and the service won't start:
Any help greatly appreciated.