Skip to content

Installation fails, due to missing commander@^11.0.0 #1197

Open
@navid-zamani

Description

@navid-zamani

Code editor

Kate

Platform

Linux/SystemD/Mint 22 (=…/Ubuntu 24)

Version

(impossible)

What steps will reproduce the bug?

npm i -g bash-language-server

How often does it reproduce? Is there a required condition?

Always

What is the expected behavior?

Installation of bash-language-server, according to the README.md.

What do you see instead?

npm ERR! code ETARGET
npm ERR! notarget No matching version found for commander@^11.0.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/[private]/.npm/_logs/2024-09-24T10_37_57_975Z-debug-0.log

Additional information

Hi, I cannot tell from this, if commander is supposed to be a npm package or something expected from my OS package manager. (I’m not into JS.)

I presumed that it’s an npm package and npm is expected to find, download and install it if required, but this package here has a dependency for a version that does not exist (anymore?).
(I’m surprised that a package with a missing dependency can even enter the package repository though, so above presumption may be wrong(?).)

A deb package named node-commander is installed here, but in version 9.4.1-1. I don’t know if that’s what is meant…

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions