Why do I get these warnings (deprecated components need to be updated) when using npm CLI to install cordova/ionic or to create a new cordova/ionic project?

I have downloaded the newest version of Node.js, and reinstalled it on my computer. So I think everything should have been up-to-date. Why do I still get these warnings (fortunately, just warnings, not errors, so it still works. But I still wonder how can I eliminate them)?

 

D:\Program Files\nodejs>npm install -g cordova ionic

npm WARN deprecated node-uuid@1.4.7: use uuid module instead
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated node-uuid@1.3.3: use uuid module instead
C:\Users\xxx\AppData\Roaming\npm\cordova -> C:\Users\xxx\AppData\Roaming\npm\node_modules\cordova\bin\cordova
C:\Users\xxx\AppData\Roaming\npm\ionic -> C:\Users\xxx\AppData\Roaming\npm\node_modules\ionic\bin\ionic
C:\Users\xxx\AppData\Roaming\npm
+-- cordova@6.5.0
`-- ionic@2.2.1

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\ionic\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN In ionic@2.2.1 replacing bundled version of mime-types with mime-types@2.0.14
npm WARN In ionic@2.2.1 replacing bundled version of cross-spawn with cross-spawn@4.0.2
npm WARN In ionic@2.2.1 replacing bundled version of semver with semver@4.2.0
npm WARN In ionic@2.2.1 replacing bundled version of form-data with form-data@0.2.0
npm WARN In ionic@2.2.1 replacing bundled version of request with request@2.51.0
npm WARN In ionic@2.2.1 replacing bundled version of ionic-app-lib with ionic-app-lib@2.2.0

0
1 comment

These warnings just indicate that either cordova or ionic have deprecated modules in their dependencies. You can ignore these warnings, or report them to modules vendor (http://cordova.apache.org/contribute/issues.html, https://github.com/driftyco/ionic-cli/issues)

0

Please sign in to leave a comment.