oav
oav copied to clipboard
Request dependency is deprecated and presents a warning in builds
There are a few dependency deprecated warnings when installing oav.
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: This module is no longer maintained, try this instead:
npm WARN deprecated npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated [email protected]: no longer supported
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: use String.prototype.padStart()
C:\npm\prefix\oav -> C:\npm\prefix\node_modules\oav\dist\cli.js
> [email protected] postinstall C:\npm\prefix\node_modules\oav\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
At least for me, this somehow seems to prevent OAV from installing completely?
npm install gives all the warnings, and then after that attempting to use oav gives you an error about not existing?
D:\src\azure-rest-api-specs [master ≡]> npm ls -g| findstr oav
+-- [email protected]
D:\src\azure-rest-api-specs [master ≡]> oav -h
oav : The term 'oav' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
+ oav -h
+ ~~~
+ CategoryInfo : ObjectNotFound: (oav:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException