Angular-cli: NPM ERR Extraneous after install Angular-cli beta9

Created on 6 Jul 2016  ·  10Comments  ·  Source: angular/angular-cli

  1. OSx
  2. (node:492) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
    angular-cli: 1.0.0-beta.9
    node: 6.2.2
    os: darwin x64
  3. After running npm -g list --depth=0
  4. screen shot 2016-07-06 at 9 39 57 am

Most helpful comment

It is not really an answer, but I have installed [email protected].
Most of the npm ERR messages disappear.

Olivier@Central:~ (3) $ npm list -g --depth=0
/usr/local/lib
├── [email protected]
├── [email protected]

There is still

npm ERR! peer dep missing: typescript@^1.9.0-dev, required by @angular/[email protected]
npm ERR! peer dep missing: typescript@^1.8.0 || ^1.9.0-dev, required by [email protected]

But it seems to have no impact besides this message...

All 10 comments

Did you try uninstall first and install again? I think I got similar error when I just run npm install with uninstalling first.

Hi @5amfung I did uninstall, clean cache, and install before posting this here.

npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli@latest

See -> https://github.com/npm/npm/issues/13284

My fix right now: Adding this to the host file:
151.101.16.162 registry.npmjs.org

This stituation still happens. Don't think it is related to the npm issue.
I uninstalled angular-cli, cleaned the cache and installed latest version 1.0.0-beta.9
Using node 4.4.5

erros

@oscar6echo I'm still experiencing the same issue as @borntorun. I've tried updating everything, and I've referenced every suggestion on npm issue #10004. Nothing seems to work, yet that issue is closed with people still experiencing the problem. Do we know if there's a solution for this yet? Or whether it's an npm issue or angular-cli issue?

For reference, I'm using node v6.4.0 and npm v3.10.6

It is not really an answer, but I have installed [email protected].
Most of the npm ERR messages disappear.

Olivier@Central:~ (3) $ npm list -g --depth=0
/usr/local/lib
├── [email protected]
├── [email protected]

There is still

npm ERR! peer dep missing: typescript@^1.9.0-dev, required by @angular/[email protected]
npm ERR! peer dep missing: typescript@^1.8.0 || ^1.9.0-dev, required by [email protected]

But it seems to have no impact besides this message...

same as @oscar6echo. I installed [email protected] and most of the npm ERR messages disappeared too. I still have 2 errors which is the same as mentioned above.

I installed [email protected]. and am also seeing the two errors after the install and also as a result of npm -g list --depth=0

Afterwards when I run ng --help, I am still seeing ng: command not found

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings