joeeames / PSAngularUnitTestingCourse

files & status for my Pluralsight course on Unit Testing
246 stars 491 forks source link

Does not install or run on fresh clone #65

Open CastleArg opened 1 year ago

CastleArg commented 1 year ago

TO Repro: git clone npm i

Results:

Error: Cannot find module './lib/source-map-generator' Require stack:

npm i npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: karma-jasmine-html-reporter@1.6.0 npm ERR! Found: jasmine-core@3.6.0 npm ERR! node_modules/jasmine-core npm ERR! dev jasmine-core@"~3.6.0" from the root project npm ERR! jasmine-core@"^3.6.0" from karma-jasmine@4.0.1 npm ERR! node_modules/karma-jasmine npm ERR! dev karma-jasmine@"~4.0.0" from the root project npm ERR! peer karma-jasmine@">=1.1" from karma-jasmine-html-reporter@1.6.0 npm ERR! node_modules/karma-jasmine-html-reporter npm ERR! dev karma-jasmine-html-reporter@"^1.5.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer jasmine-core@">=3.7.1" from karma-jasmine-html-reporter@1.6.0 npm ERR! node_modules/karma-jasmine-html-reporter npm ERR! dev karma-jasmine-html-reporter@"^1.5.0" from the root project npm ERR! npm ERR! Conflicting peer dependency: jasmine-core@4.5.0 npm ERR! node_modules/jasmine-core npm ERR! peer jasmine-core@">=3.7.1" from karma-jasmine-html-reporter@1.6.0 npm ERR! node_modules/karma-jasmine-html-reporter npm ERR! dev karma-jasmine-html-reporter@"^1.5.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.