"We introduced it because ""npm-check-updates"" is convenient for updating npm packages."
However, when I executed the "ncu" command, an error occurred and I couldn't update it.
The URL of github appears in the log as a solution, but I am ashamed to say that I am not familiar with English, so I did not understand it well.
What is the cause of this error?
$ncu
Hmmmmm...this is taking a long time. Your console is telling me to wait for input
on stdin, but maybe that is not what you want.
Try specifying a package file explicitly with --packageFile package.json.
See https://github.com/tjunnone/npm-check-updates/issues/136#issuecomment-155721102
Environment
Windows 10 1607
Node.js v7.5.0
nodist v0.8.8
npm v4.2.0
Once node.js was installed directly instead of via nodist to rebuild the environment, it was safe to use. (from question contributor's comment)
I'm sorry I don't know why, but I can't find package.json.
Try specifying a package file explicitly with --packageFile
package.json.
It says package.json, so why don't you try the following command?I got the same error in this environment, but I solved it with the following command.
$ncu--packageFile package.json
© 2024 OneMinuteCode. All rights reserved.