mike-works / sql-fundamentals

Mike North's SQL Fundamentals and Professional SQL Courses
https://frontendmasters.com/courses/sql-fundamentals/
BSD 3-Clause "New" or "Revised" License
169 stars 108 forks source link

Getting an error when running 'npm install' #369

Open billyhunt opened 3 years ago

billyhunt commented 3 years ago

After git cloning, I am getting the following error when trying to install.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @mikeworks/sql-fundamentals@0.0.0-development
npm ERR! Found: ts-node@5.0.1
npm ERR! node_modules/ts-node
npm ERR!   dev ts-node@"5.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer ts-node@"^3.3.0" from db-migrate-plugin-typescript@2.0.0
npm ERR! node_modules/db-migrate-plugin-typescript
npm ERR!   dev db-migrate-plugin-typescript@"2.0.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 /Users/billyhunt/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/billyhunt/.npm/_logs/2021-09-23T13_55_46_234Z-debug.log

2019 Macbook Pro running Big Sur npm version 7.20.3

image
jasonsbarr commented 2 years ago

Did you ever figure this out?