express-typescript icon indicating copy to clipboard operation
express-typescript copied to clipboard

Dependency Conflict typescript@"5.0.3" & awesome-typescript-loader@"^5.2.0"

Open thecloudmason opened this issue 1 year ago • 3 comments

Describe the bug When running npm install locally, I get a dependency conflict when resolving the dependency tree

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/typescript npm ERR! dev typescript@"5.0.3" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer typescript@"^2.7 || ^3" from [email protected] npm ERR! node_modules/awesome-typescript-loader npm ERR! dev awesome-typescript-loader@"^5.2.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! npm ERR! For a full report see: npm ERR! /Users/lennart/.npm/_logs/2023-06-19T11_22_57_010Z-eresolve-report.txt

To Reproduce Steps to reproduce the behavior:

  1. Clone the repository
  2. Run npm install
  3. See error

Expected behavior Npm install is able to run without error

Desktop (please complete the following information):

  • OS: [e.g. iOS] macOS
  • Browser [e.g. chrome, safari] N/A
  • Version [e.g. 22] 12.6.6

thecloudmason avatar Jun 19 '23 11:06 thecloudmason