8000 ng -v error reflect-metadata after update cli version beta.20-1 · Issue #3148 · angular/angular-cli · GitHub
[go: up one dir, main page]

Skip to content
ng -v error reflect-metadata after update cli version beta.20-1 #3148
Closed
@antonybudianto7

Description

@antonybudianto7

Please provide us with the following information:

OS?

ubuntu 14.04

Versions.

angular-cli@1.0.0-beta.20-1
node 7.0.0
npm 3.10.9

Repro steps.

update latest cli

npm rm -g angular-cli
npm i -g angular-cli

then

ng -v

have done the same with npm cache clean, same error

The log given by the failure.

$ ng -v
Cannot find module 'reflect-metadata'
Error: Cannot find module 'reflect-metadata'

Mention any other details that might be useful.

Also when doing npm ls -g --depth=0 shows

npm ERR! peer dep missing: @angular/compiler-cli@^2.1.0, required by @ngtools/webpack@1.1.7
npm ERR! peer dep missing: @angular/core@^2.0.0, required by @ngtools/webpack@1.1.7
npm ERR! peer dep missing: reflect-metadata@^0.1.8, required by @ngtools/webpack@1.1.7

didn't happen in previous version.


Thanks! We'll be in touch soon.

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

      0