angular / protractor

E2E test framework for Angular apps
http://www.protractortest.org
MIT License
8.75k stars 2.31k forks source link

unable to upgrade protractor to new version, "npm WARN deprecated request@2.88.2: request has been deprecated" error is thrown eventhough i uninstalled the existing version #5483

Open vishnudasarp808 opened 3 years ago

vishnudasarp808 commented 3 years ago

unable to upgrade protractor to new version, "npm WARN deprecated request@2.88.2: request has been deprecated" error is thrown eventhough i uninstalled the existing version

C:\Users\vishnu-prasad>npm install -g protractor npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm ERR! code E403 npm ERR! 403 Forbidden: ajv@^6.12.3

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users***\AppData\Roaming\npm-cache_logs\2020-12-17T09_56_55_861Z-debug.log

andredesousa commented 3 years ago

I think the problem is with your machine. Try to clear the npm cache.

P.S. Use local installation of your node modules.