Skip to content

Cannot install angular cli with NPM #1940

Description

@madhusudhanan-jayaram

Describe the bug

I was installing angular cli when it failed and said it required higher permission, I tried sudo and su, but nothing worked

Link to the blitz that caused the error

https://stackblitz.com/~/github.com/madhusudhanan-jayaram/angulardemo

Steps to reproduce

  1. Go to terminal
  2. run "npm install -g @angular/cli"

Expected behavior

I thought it would install then I could create a starter angular project

Parity with Local

Screenshots

No response

Platform

Version = 1.84.0
Hash = 3b0b7194bc6b567c2eaf4c96a5759098469dcf59
WebContainer = 96435430

Browser name  = Chrome
Full version  = 138.0.0.0
Major version = 138
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 104161526,
  "usedJSHeapSize": 98081018,
  "jsHeapSizeLimit": 4294705152
}

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions