Reputation: 63952
Likely after cordove install with npm
I got warning messages almost for every npm operations "requires colors@'>=0.6.0' but will load .. color"
D:\Workspaces\Enide-Studio-2014\OpenWith.js>npm i . -g
C:\Users\weibl\AppData\Roaming\npm\openwith -> C:\Users\weibl\AppData\Roaming\npm\node_modules\openwith\bin\openwith.js
npm WARN unmet dependency C:\Users\weibl\AppData\Roaming\npm\node_modules\phonegap\node_modules\cordova requires colors@'>=0.6.0' but will load
npm WARN unmet dependency C:\Users\weibl\AppData\Roaming\npm\node_modules\phonegap\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
npm WARN unmet dependency C:\Users\weibl\AppData\Roaming\npm\node_modules\phonegap\node_modules\node-static requires colors@'>=0.6.0' but will load
npm WARN unmet dependency C:\Users\weibl\AppData\Roaming\npm\node_modules\phonegap\node_modules\colors,
npm WARN unmet dependency which is version 0.6.0-1
[email protected] C:\Users\weibl\AppData\Roaming\npm\node_modules\openwith
How to fix such npm errors?
Upvotes: 3
Views: 887
Reputation: 8119
At first, delete the phonegap\
folder in the location C:\Users\weibl\AppData\Roaming\npm\node_modules\
. Of course, specific location will be different for others.
Then, proceed for any npm
install/update command you want.
Upvotes: 0