Skip to content

Cannot install @angular/cli because of dependency issue #9113

@DirkWillem

Description

@DirkWillem

When I try to install @angular/cli, I get the following error:

npm install -g @angular/cli@latest
npm ERR! code ETARGET
npm ERR! notarget No matching version found for require-from-string@^1.1.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! notarget
npm ERR! notarget It was specified as a dependency of 'cosmiconfig'
npm ERR! notarget

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/dirk/.npm/_logs/2018-01-06T18_58_49_094Z-debug.log

Versions

N/A

Repro steps

Run

npm install @angular/cli@latest

Observed behavior

Angular CLI does not install

Desired behavior

Angular CLI installs

Mention any other details that might be useful (optional)

The package require-from-string seemed to be gone from NPM for a while, but also seems to be back now

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