azure-storage
azure-storage copied to clipboard
I can't install this package with npm@7
I'm submitting a...
[ ] Regression
[X] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
I get errors installing this package using npm version 7
Expected behavior
Successful install
Minimal reproduction of the problem with instructions
install npm version 7 npm -g i [email protected]
install package npm i @nestjs/azure-storage
What is the motivation / use case for changing the behavior?
Environment
Nest version: 7.5.1
For Tooling issues:
- Node version: 15.0.1
- Platform: Windows
Others:
@sfabriece could you please share the error you are having?
I downgraded to npm 6 and got it work. If you follow the instructions in the issue, you should be able to reproduce @manekinekko :)
Probably the issue here is that @nestjs/azure-storage is compatible with @nestjs/common (^6.0.0) Using nest version 7.5.1 will enforce the usage of @nestjs/common (^7.0.0) which is not supported, yet by azure-storage. This will be fixed after the dependencies upgrade.
Has this been resolved as of today there are still compatibility issues
code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @nestjs/[email protected]
npm ERR! node_modules/@nestjs/common
npm ERR! @nestjs/common@"^10.3.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @nestjs/common@"^6.0.0" from @nestjs/[email protected]
npm ERR! node_modules/@nestjs/azure-storage
npm ERR! @nestjs/azure-storage@"^2.1.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.