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

[ERROR] NPM not installable on 24.04 #1820

Open
erkinalp opened this issue Aug 31, 2024 · 0 comments
Open

[ERROR] NPM not installable on 24.04 #1820

erkinalp opened this issue Aug 31, 2024 · 0 comments
Labels

Comments

@erkinalp
Copy link

Describe your bug
NPM not installable on 24.04

Distribution Information:

  • OS: Ubuntu
  • Version: 24.04
  • Other info if applicable [e.g. Docker image XXX, AWS AMI ID]

Node Version:

  • Node: 22 series

To Reproduce
Steps to reproduce the behavior:

  1. add node source repository
  2. sudo apt install npm
  3. see apt-get failing to resolve dependencies

Expected behavior
NPM successfully installed

Console log

eading package lists... Done
Building dependency tree... Done
Reading state information... Done
npm is already the newest version (9.2.0~ds1-2).
Calculating upgrade... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 eslint : Depends: nodejs:any (>= 12.22.0)
 libnode109 : Conflicts: nodejs-legacy
 node-acorn : Depends: nodejs:any or
                       nodejs (< 12.22.5~dfsg-4~) but 22.7.0-1nodesource1 is to be installed
 node-ajv : Depends: nodejs:any
            Recommends: node-re2 (>= 1.16~) but it is not going to be installed
 node-archy : Depends: nodejs:any
 node-babel7 : Depends: nodejs:any
 node-browserslist : Depends: nodejs:any
 node-chalk : Depends: nodejs:any (>= 14)
 node-css-selector-tokenizer : Depends: nodejs:any
 node-decamelize : Depends: nodejs:any
 node-defined : Depends: nodejs:any
 node-doctrine : Depends: nodejs:any
 node-errno : Depends: nodejs:any
 node-es6-error : Depends: nodejs:any
 node-escodegen : Depends: nodejs:any
 node-esprima : Depends: nodejs:any
 node-globby : Depends: nodejs:any
 node-gyp : Depends: nodejs:any
 node-ignore : Depends: nodejs:any
 node-is-glob : Depends: nodejs:any
 node-is-number : Depends: nodejs:any
 node-is-path-inside : Depends: nodejs:any
 node-istanbul : Depends: nodejs:any (>= 12)
 node-jest-worker : Depends: node-types-node
 node-js-yaml : Depends: nodejs:any
 node-json5 : Depends: nodejs:any
 node-lodash : Depends: nodejs:any
 node-mime : Depends: nodejs:any
 node-mkdirp : Depends: nodejs:any
 node-ms : Depends: nodejs:any
 node-nopt : Depends: nodejs:any
 node-normalize-path : Depends: nodejs:any
 node-object-assign : Depends: nodejs:any
 node-picocolors : Depends: nodejs:any
 node-postcss : Depends: nodejs:any
 node-progress : Depends: nodejs:any
 node-regjsparser : Depends: nodejs:any
 node-rimraf : Depends: nodejs:any
 node-semver : Depends: nodejs:any
 node-strip-ansi : Depends: nodejs:any
 node-tape : Depends: nodejs:any
 node-unicode-match-property-ecmascript : Depends: nodejs:any
 node-v8-compile-cache : Depends: nodejs:any (>= 14)
 node-which : Depends: nodejs:any
 node-write : Depends: nodejs:any
 nodejs : Conflicts: npm
 npm : Depends: nodejs:any
       Recommends: node-tap but it is not going to be installed
 terser : Depends: nodejs:any
 webpack : Depends: nodejs:any
E: Unable to correct problems, you have held broken packages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant