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

npm install fails #36

Closed
SammyWhamy opened this issue Nov 10, 2022 · 1 comment · Fixed by #59
Closed

npm install fails #36

SammyWhamy opened this issue Nov 10, 2022 · 1 comment · Fixed by #59

Comments

@SammyWhamy
Copy link

SammyWhamy commented Nov 10, 2022

Running npm install on a clone of the 0.0.9 release fails with the following error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/webpack
npm ERR!   dev webpack@"^5.72.0" from the root project
npm ERR!   peer webpack@"4.x.x || 5.x.x" from @webpack-cli/[email protected]
npm ERR!   node_modules/@webpack-cli/configtest
npm ERR!     @webpack-cli/configtest@"^1.1.1" from [email protected]
npm ERR!     node_modules/webpack-cli
npm ERR!       dev webpack-cli@"^4.9.2" from the root project
npm ERR!       3 more (@webpack-cli/configtest, @webpack-cli/info, @webpack-cli/serve)
npm ERR!   6 more (css-loader, terser-webpack-plugin, webpack-cli, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^2.0.0 || ^3.0.0 || ^4.0.0" from [email protected]
npm ERR! node_modules/file-loader
npm ERR!   dev file-loader@"^1.1.11" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/webpack
npm ERR!   peer webpack@"^2.0.0 || ^3.0.0 || ^4.0.0" from [email protected]
npm ERR!   node_modules/file-loader
npm ERR!     dev file-loader@"^1.1.11" 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.

eresolve-report.txt

Technical info:

  • Node v18.12.1
  • npm 8.12.1
  • Microsoft Windows 10 Enterprise (10.0.19044 Build 19044)

Notes
Running npm i --legacy-peer-deps seems to work, albeit with 21 vulnerabilities (6 moderate, 13 high, 2 critical)

@tanmaya-panda1
Copy link
Collaborator

tanmaya-panda1 commented Nov 7, 2023

updated few dependencies and fixed in PR and upcoming 0.0.10 version Defect/update dev dependencies by tanmaya-panda1 · Pull Request #58 · Azure/azure-kusto-trender (github.com). Most of the vulnerabilities are fixed with 10 vulnerabilities remaining (2 moderate, 8 high). These vulnerabilities will be taken care in the upcoming releases.

@tanmaya-panda1 tanmaya-panda1 linked a pull request Nov 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants