-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Package version (if known): v1.2.7
Describe the bug
Unable to install with the invenio buildall command because of a dependency resolution problem. Actually, the problem can also be seen if I clone this repository and just run npm install directly in the assets directory.
Steps to Reproduce
- Clone the repository (
git clone https://github.com/inveniosoftware/invenio-assets.git) - Go into the assets directory (
cd invenio-assets/invenio_assets/assets) - Do
npm install - See the following error:
Thomass-MacBook-Pro-2:assets thomasrambo$ 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@"^7.7.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^5.0.0 || ^6.0.0" from @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/parser
npm ERR! peer @typescript-eslint/parser@"2.x" from [email protected]
npm ERR! node_modules/eslint-config-react-app
npm ERR! dev eslint-config-react-app@"^5.2.1" from the root project
npm ERR! peer @typescript-eslint/parser@"^2.0.0" from @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! peer @typescript-eslint/eslint-plugin@"2.x" from [email protected]
npm ERR! node_modules/eslint-config-react-app
npm ERR! dev eslint-config-react-app@"^5.2.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 /Users/thomasrambo/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/thomasrambo/.npm/_logs/2022-03-28T16_47_53_174Z-debug-0.log
Expected behavior
I expect to be able to run the invenio buildall command (or alternatively just doing npm install directly in the assets directory).
Other things
I am using NPM version 8.5.5 installed with homebrew. I am running on MacOS Monterey version 12.1.
Metadata
Metadata
Assignees
Labels
No labels