Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sfabriece opened this issue Oct 28, 2020 · 4 comments
Open

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

sfabriece opened this issue Oct 28, 2020 · 4 comments

Comments

@sfabriece
Copy link

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:

@manekinekko
Copy link
Collaborator

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

@sfabriece
Copy link
Author

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
Copy link

dbugnar commented Nov 10, 2020

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
Copy link

sadranyi commented Feb 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants