flanker / chromadb-admin

Admin UI for Chroma embedding database built with Next.js
https://chromadb-admin.com/
MIT License
108 stars 21 forks source link

Error on `npm install` #4

Closed mjtechguy closed 4 months ago

mjtechguy commented 5 months ago

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: chromadb-admin@0.1.0
npm ERR! Found: eslint@9.1.1
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/parser@7.8.0
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/eslint-plugin@7.8.0
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
flanker commented 5 months ago

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.