angular-fundamentals-src icon indicating copy to clipboard operation
angular-fundamentals-src copied to clipboard

Unable to resolve dependency tree on 01-first-component

Open alexljamin opened this issue 4 years ago • 3 comments

I am getting the following error when trying to install npm dependecies for the very first project:

C:\codes\angular-fundamentals-src\01-first-component>npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/webpack
npm ERR!   dev webpack@"2.2.0-rc.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^1.3.0 || ^2.1.0-beta" from [email protected]
npm ERR! node_modules/progress-bar-webpack-plugin
npm ERR!   dev progress-bar-webpack-plugin@"1.9.0" 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.
npm ERR!
npm ERR! See C:\Users\admin\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\admin\AppData\Local\npm-cache\_logs\2021-07-05T21_47_37_464Z-debug.log

Is it time to bump up the Webpack version from release candidate to something more stable?

alexljamin avatar Jul 05 '21 21:07 alexljamin

I have installed the deps with the following changes:

  1. Downgrade node to 8.12.0
  2. Change the version of node-sass to 4.5.3

Can there be a note that this project requires ancient node?

alexljamin avatar Jul 06 '21 03:07 alexljamin

I am running into similar issues getting the dependencies to install. Maybe it is time for author to publish a working release figuring what is out there is five years old

akoranteng avatar Aug 17 '21 18:08 akoranteng