npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @mostly-adequate/exercises@1.0.0
npm ERR! Found: eslint@5.16.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^5.9.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^4.9.0" from eslint-config-airbnb@16.1.0
npm ERR! node_modules/eslint-config-airbnb
npm ERR! dev eslint-config-airbnb@"^16.1.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! /home/node/.npm/_logs/2023-02-18T19_36_11_612Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in:
npm ERR! /home/node/.npm/_logs/2023-02-18T19_36_11_612Z-debug-0.log
Steps to repro:
clone repo
open vscode with that folder
use "Reopen in Container" and choose "Node.js & Typescipt" with v18 from the list
I am following instructions for running exercises locally and
npm install
fails with the following error:Steps to repro:
Expected behavior:
npm run ch04
)Actual behavior:
npm install
with error above