Working with global npm install but not with npm run #84
Unanswered
msteel9999
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I install better-npm-audit globally ie
npm install -g better-npm-audit
Then it works but if I install via package.json and add a script as:
"audit": "better-npm-audit audit"
Then I get this error:
'better-npm-audit' is not recognized as an internal or external command,
Any idea where I'm going wrong? I need to install via package.json as I want to use on our build.
Beta Was this translation helpful? Give feedback.
All reactions