Closed
Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Command (mark with an x
)
- [x] new
- [x] build
- [x] serve
- [x] test
- [x] e2e
- [x] generate
- [x] add
- [x] update
- [x] lint
- [x] xi18n
- [x] run
- [x] config
- [x] help
- [x] version
- [x] doc
Versions
λ ng --version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 6.2.0-beta.3
Node: 8.9.1
OS: win32 x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.8.0-beta.3
@angular-devkit/core 0.8.0-beta.3
@angular-devkit/schematics 0.8.0-beta.3
@schematics/angular 0.8.0-beta.3
@schematics/update 0.8.0-beta.3
rxjs 6.2.2
typescript 2.9.2
Repro steps
The latest beta version (0.8.0-beta.3) is broken on windows
npm i -g @angular/cli@next
Use any command example ng --version
The log given by the failure
λ ng --version
ENOENT: no such file or directory, open 'c:\C\ProgramData\nvm\v8.9.1\node_modules\@angular\cli\commands\version.json'
Error: ENOENT: no such file or directory, open 'c:\C\ProgramData\nvm\v8.9.1\node_modules\@angular\cli\commands\version.json'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at findCommand (C:\ProgramData\nvm\v8.9.1\node_modules\@angular\cli\models\command-runner.js:302:31)
at Object.<anonymous> (C:\ProgramData\nvm\v8.9.1\node_modules\@angular\cli\models\command-runner.js:80:31)
at Generator.next (<anonymous>)
at C:\ProgramData\nvm\v8.9.1\node_modules\@angular\cli\models\command-runner.js:14:71
at new Promise (<anonymous>)
at __awaiter (C:\ProgramData\nvm\v8.9.1\node_modules\@angular\cli\models\command-runner.js:10:12)
at Object.runCommand (C:\ProgramData\nvm\v8.9.1\node_modules\@angular\cli\models\command-runner.js:51:12)
at C:\ProgramData\nvm\v8.9.1\node_modules\@angular\cli\lib\cli\index.js:38:58
Desired functionality
it works
Mention any other details that might be useful
This issue is related to the normalization of paths which fs
is unable to read
Metadata
Metadata
Assignees
Labels
No labels