Open sfabriece opened 4 years ago
@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: 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.
I'm submitting a...
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