Skip to content

Getting an error when running 'npm install' #369

Description

@billyhunt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions