Skip to content

Infinite install loop #7645

@AmitMY

Description

@AmitMY

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

1.4.1

Repro steps.

sudo npm install -g @angular/cli@latest

The log given by the failure.

The following repeats itself forever:

gyp verb command install [ '8.4.0' ]
gyp verb install input version string "8.4.0"
gyp verb install installing version: 8.4.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 8.4.0
gyp verb ensuring nodedir is created /usr/lib/node_modules/@angular/cli/node_mod ules/node-sass/.node-gyp/8.4.0
gyp WARN EACCES user "root" does not have permission to access the dev dir "/usr /lib/node_modules/@angular/cli/node_modules/node-sass/.node-gyp/8.4.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_m odules/@angular/cli/node_modules/node-sass/.node-gyp"
gyp verb tmpdir == cwd automatically will remove dev files after to save disk sp ace

Desired functionality.

Install to be working

Mention any other details that might be useful.

1.3.2 was working.
I am on Ubuntu E2 on AWS.

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