Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install/build on Ubuntu 22.04 #18

Open
coudot opened this issue Jun 24, 2024 · 2 comments
Open

Unable to install/build on Ubuntu 22.04 #18

coudot opened this issue Jun 24, 2024 · 2 comments

Comments

@coudot
Copy link

coudot commented Jun 24, 2024

Trying to run on my laptop:

clement@ader-worteks:~/dev/llng/llng-manager$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: [email protected]
npm ERR! node_modules/babel-jest
npm ERR!   babel-jest@"^27.5.1" from [email protected]
npm ERR!   node_modules/jest-config
npm ERR!     jest-config@"^27.5.1" from @jest/[email protected]
npm ERR!     node_modules/@jest/core
npm ERR!       @jest/core@"^27.5.1" from [email protected]
npm ERR!       node_modules/jest
npm ERR!         peer jest@"^27.0.0 || ^28.0.0" from [email protected]
npm ERR!         node_modules/jest-watch-typeahead
npm ERR!         1 more (react-scripts)
npm ERR!       1 more (jest-cli)
npm ERR!     jest-config@"^27.5.1" from [email protected]
npm ERR!     node_modules/jest-cli
npm ERR!       jest-cli@"^27.5.1" from [email protected]
npm ERR!       node_modules/jest
npm ERR!         peer jest@"^27.0.0 || ^28.0.0" from [email protected]
npm ERR!         node_modules/jest-watch-typeahead
npm ERR!         1 more (react-scripts)
npm ERR!   babel-jest@"^27.4.2" from [email protected]
npm ERR!   node_modules/react-scripts
npm ERR!     dev react-scripts@"5.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! dev ts-jest@"^29.1.2" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/babel-jest
npm ERR!   peerOptional babel-jest@"^29.0.0" from [email protected]
npm ERR!   node_modules/ts-jest
npm ERR!     dev ts-jest@"^29.1.2" 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/clement/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/clement/.npm/_logs/2024-06-24T09_35_02_952Z-debug.log

Installed versions:

ii  node-npm-bundled                                            1.1.2-1                                      all          Parses info on bundled dependencies
ii  node-npm-package-arg                                        8.1.5-1                                      all          Parse the things that can be arguments to npm install
ii  node-npmlog                                                 6.0.1+~4.1.4-1                               all          Logger with custom levels and colored output for Node.js
ii  node-read-package-json                                      4.1.1-1                                      all          Read package.json for npm module for Node.js
ii  node-validate-npm-package-license                           3.0.4-2                                      all          Tells if a string is a valid npm package license string
ii  node-validate-npm-package-name                              3.0.0-4                                      all          Checks if a string is a valid npm package name
ii  npm                                                         8.5.1~ds-1                                   all          package manager for Node.js
@Eriikah
Copy link
Collaborator

Eriikah commented Jun 24, 2024

You might have to update npm, I am currently using npm 10.2.4.

@coudot
Copy link
Author

coudot commented Jun 24, 2024

Ok, I'll see how to do that on a virtual machine (npm version is frozen by the packages).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants