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

Unable to resolve dependency tree on 01-first-component #28

Open
alexljamin opened this issue Jul 5, 2021 · 3 comments
Open

Unable to resolve dependency tree on 01-first-component #28

alexljamin opened this issue Jul 5, 2021 · 3 comments

Comments

@alexljamin
Copy link

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

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?

@akoranteng
Copy link

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

@xtingray
Copy link

To whom it may concern:

I made an update to all the examples of this repository to make them compatible with NodeJS LTS v18.12.0, in case you are interested in using them to study: https://github.com/xtingray/angular-fundamentals-src

In a few examples, I had to make significant changes as several resources have been deprecated (i.e., toPromise), anyway, I think they could be helpful for the new developers wanting to test usable code.

PS: In case you consider that some of the example code can be optimized, please let me know. Regards.

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

No branches or pull requests

3 participants