Skip to content

Error to new install angular/cli@8.x.x with npm #14584

@amoncusir

Description

@amoncusir

🐞 Bug report

Command (mark with an x or write it if not found the right command)

[sudo] npm i -g @angular/cli

Is this a regression?

I can install the latest version (7.3.9)

Description

When try install the last version of angular-cli npm package the command output a error and the installation process exited with status 130.
I tried install with and without sudo privileges.

🔬 Minimal Reproduction

Run this command: npm i -g @angular/cli

🔥 Exception or Error

The npm output when run the install command:


[        ..........] \ extract:genfun: sill extract duplexify@3.7.1
/usr/local/bin/ng -> /usr/local/lib/node_modules/@angular/cli/bin/ng

> @angular/cli@8.0.0 postinstall /usr/local/lib/node_modules/@angular/cli
> node ./bin/postinstall/script.js

? Would you like to share anonymous usage data with the Angular Team at Google under
Google’s Privacy Policy at https://policies.google.com/privacy? For more details and
npm ERR! code ELIFECYCLE
npm ERR! errno 130
npm ERR! @angular/cli@8.0.0 postinstall: `node ./bin/postinstall/script.js`
npm ERR! Exit status 130
npm ERR! 
npm ERR! Failed at the @angular/cli@8.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/aran/.npm/_logs/2019-05-30T12_29_27_291Z-debug.log

And the log that npm create with the error (I've create a github gist because the file is too long):
Gist Log

🌍 Your Environment

NPM version: 6.4.1
OS: Ubuntu 18.04

Anything else relevant?

...?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions