Please include the ncu path to the install process because after installing in Windows 7 without any errors and executing ncu command. This is my output. Thanks for the help.
C:\Users\jimenelo>npm install -g npm-check-updates
C:\Users\jimenelo\AppData\Roaming\npm\ncu -> C:\Users\jimenelo\AppData\Roaming\npm\node_modules\npm-check-updates\bin\ncu
C:\Users\jimenelo\AppData\Roaming\npm\npm-check-updates -> C:\Users\jimenelo\AppData\Roaming\npm\node_modules\npm-check-updates\bin\npm-check-updates
C:\Users\jimenelo\AppData\Roaming\npm
`-- [email protected]
C:\Users\jimenelo>npm -g ls --depth=0
C:\Users\jimenelo\AppData\Roaming\npm
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]
C:\Users\jimenelo>ncu
'ncu' is not recognized as an internal or external command,
operable program or batch file.
Hi, thanks for reporting! A couple questions.
Is npm-check-updates not found as well?
Does the same problem occur for any global npm module, or just ncu?
@raineorshine got the same error today, win10pro, node v6.6.0, npm 3.10.3.
Either ncu or npm-check-updates aren't found (global ofc).
npm list -g --depth=0 shows that [email protected] is installed, and i already tried to reinstall it.
Wow.. maybe it's not fault of npm-check-updates, i found that bower and etc not working too).. looking why.
Repaired NodeJS and everything works fine. Thanks)
Okay, closing :)
@raineorshine got the same error today, win10pro, node v6.6.0, npm 3.10.3.
Eitherncuornpm-check-updatesaren't found (global ofc).
npm list -g --depth=0shows that [email protected] is installed, and i already tried to reinstall it.~Wow.. maybe it's not fault of npm-check-updates, i found that bower and etc not working too).. looking why.~
Repaired NodeJS and everything works fine. Thanks)
What do you mean by repairing NodeJS ? Did you uninstall/reinstall ?
@PixelWeaver I've found I had multiple NodeJS versions and I suppose it was required to switch from one to another after a brew update. And maybe one of the second issues I have found was that in my shell config file (ex.: .zshrc) I did the wrong PATH export (now every time I Install NodeJS it asks me to do a new export, where I also should remove the previous one.
Either ncu or npm-check-updates aren't found after installing!
PS E:\Abhinav_Workspace\NodeProject> ncu
ncu : The term 'ncu' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
PS E:\Abhinav_Workspace\NodeProject> npm-check-updates
npm-check-updates : The term 'npm-check-updates' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
Either ncu or npm-check-updates aren't found after installing!
PS E:\Abhinav_Workspace\NodeProject> ncu
ncu : The term 'ncu' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- ncu
<ul> <li>CategoryInfo : ObjectNotFound: (ncu:String) [], CommandNotFoundException</li> <li>FullyQualifiedErrorId : CommandNotFoundException<br />
PS E:\Abhinav_Workspace\NodeProject> npm-check-updates
npm-check-updates : The term 'npm-check-updates' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
- npm-check-updates
<ul> <li>CategoryInfo : ObjectNotFound: (npm-check-updates:String) [], CommandNotFoundException</li> <li>FullyQualifiedErrorId : CommandNotFoundException<br />
You need to install npm-check-updates globally
So
npm install -g npm-check-updates
now do
ncu
Same thing happening for me on windows .. @Flexxkii -installed successfully ( install npm-check-updates globally--> + [email protected]) but ncu not working.. Please advise..
Most helpful comment
Hi, thanks for reporting! A couple questions.
Is
npm-check-updatesnot found as well?Does the same problem occur for any global npm module, or just
ncu?