Please provide us with the following information:
OS?
Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10
Versions.
Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
@angular/cli: 1.0.0-beta.32.3 [1.0.0-beta.30]
Repro steps.
Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
Run ng version
Mention any other details that might be useful.
- Running
ng version outside the project returns @angular/cli: 1.0.0-beta.32.3
- Running
npm list @angular/cli returns @angular/cli@1.0.0-beta.32.3.
So where is this [1.0.0-beta.30] coming from, or what does it mean? I have a script setup that does a few things based on the versioning but this threw me off.
Edit, the script does do something like this, if there's a version mismatch. So this still happens after uninstall/re-install:
npm uninstall -g angular-cli @angular/cli
npm cache clean && npm install -g @angular/cli@ + supportedVersion
rd /s /q node_modules (delete folders + files)
rd /s /q dist
npm install --save-dev @angular/cli@ + supportedVersion
npm install
OS?
Windows 10
Versions.
@angular/cli: 1.0.0-beta.32.3 [1.0.0-beta.30]Repro steps.
Run
ng versionMention any other details that might be useful.
ng versionoutside the project returns@angular/cli: 1.0.0-beta.32.3npm list @angular/clireturns@angular/cli@1.0.0-beta.32.3.So where is this
[1.0.0-beta.30]coming from, or what does it mean? I have a script setup that does a few things based on the versioning but this threw me off.Edit, the script does do something like this, if there's a version mismatch. So this still happens after uninstall/re-install: