-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cordova installation dispalying warning #349
Comments
A fresh install shows different results (npm install -g cordova may not be a fresh install if you had an older version previously installed)
You can use This will resolve the deprecation warnings for receive for Nonetheless, there are still 2 active deprecations used, which are:
As you can see,
There are 2 sub-dependencies that Cordova depends on that is including this dependency, As for the reported vulnerabilities, they are from the |
I did a clean install of Cordova today (I have never used Cordova before, and am just exploring/learning about it for the first time), and got a bunch of warnings similar to what is reported above, but it seems the list of deprecated packages has gotten longer, and Cordova maybe needs to update to other dependencies?
|
A cordova install in a complete fresh environment will yield, or at least it did for me:
A complete fresh environment meaning I had 0 globally installed NPM packages. If you have other globally installed packages and those versions satisfies the version pins that cordova or any of its dependencies uses, they won't get upgraded on So in other words, if a package wants dependency Running
If you have other global packages that are causing these dependencies to be held back, then you might be able to use a project-local install instead by doing |
Issue Type
Description
showing some warning while installing Cordava
Information
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: This module is not used anymore, and has been replaced by @npmcli/package-json
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
added 489 packages, and audited 490 packages in 36s
52 packages are looking for funding
run
npm fund
for details4 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run
npm audit
for details.Command or Code
npm install -g cordava
Environment, Platform, Device
cmd
Version information
Checklist
The text was updated successfully, but these errors were encountered: