Skip to content

Getting the word 'error' instead of Version number on "ng --version" #5260

@kiranvarsani

Description

@kiranvarsani

OS?

Windows 8.1

Versions.

Node: 7.7.1
npm: 3.10.2

Mention any other details that might be useful.

ng --version returns following result with error on last 5 results:
@angular/cli: 1.0.0-rc.1
node: 7.7.1
os: win32 x64
@angular/compiler: error
@angular/compiler-cli: error
@angular/core: error
@ngtools/json-schema: error
@ngtools/webpack: error

Here is the path from where I executed ng --version command.
C:\Users\<YourUserName>\AppData\Roaming\npm\node_modules\angular-cli> ng --version

I do not get above output if I run ng --version command from any other windows path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions