chromadb-admin icon indicating copy to clipboard operation
chromadb-admin copied to clipboard

Error on `npm install`

Open mjtechguy opened this issue 1 year ago • 1 comments

I am getting dependency errors on npm install. Any ideas?

╰─❯ npm install
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/eslint
npm ERR!   dev eslint@"^9.1.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^8.56.0" from @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   dev @typescript-eslint/parser@"^7.7.1" from the root project
npm ERR!   peer @typescript-eslint/parser@"^7.0.0" from @typescript-eslint/[email protected]
npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     dev @typescript-eslint/eslint-plugin@"^7.7.1" 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 /home/mj/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/mj/.npm/_logs/2024-05-02T03_37_13_677Z-debug-0.log

mjtechguy avatar May 02 '24 03:05 mjtechguy

I've downgraded eslint to fix the dependency conflicts.

Could you pull the latest code and give it a try?

Alternatively, using pnpm might be simpler.

flanker avatar May 03 '24 00:05 flanker