nestjs / azure-storage

Azure Storage module for Nest framework (node.js) ☁️
https://nestjs.com
MIT License
87 stars 35 forks source link

I can't install this package with npm@7 #137

Open sfabriece opened 4 years ago

sfabriece commented 4 years ago

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 npm@7.0.6

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:

manekinekko commented 4 years ago

@sfabriece could you please share the error you are having?

sfabriece commented 4 years ago

I downgraded to npm 6 and got it work. If you follow the instructions in the issue, you should be able to reproduce @manekinekko :)

dbugnar commented 4 years ago

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.

sadranyi commented 9 months ago

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: api@0.0.1
npm ERR! Found: @nestjs/common@10.3.2
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/azure-storage@2.1.1
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.