Closed
Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Versions.
Angular CLI: 1.5.0-rc.4
Node: 8.8.0
OS: darwin x64
Repro steps.
npm i -g @angular/cli@1.5.0-rc.4
ng --version
The log given by the failure.
/path/@angular/cli/upgrade/version.js:12
const { bold, red, yellow } = chalk_1.default;
^
TypeError: Cannot destructure property `bold` of 'undefined' or 'null'.
at Object.<anonymous> (/path/@angular/cli/upgrade/version.js:12:39)
at Module._compile (module.js:612:30)
at Object.Module._extensions..js (module.js:623:10)
at Module.load (module.js:531:32)
at tryModuleLoad (module.js:494:12)
at Function.Module._load (module.js:486:3)
at Module.require (module.js:556:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/path/@angular/cli/commands/build.js:4:19)
at Module._compile (module.js:612:30)
Desired functionality.
Output version.
Mention any other details that might be useful.
Same error generated for all cli commands. ng --version
works outside of CLI project.
Metadata
Metadata
Assignees
Labels
No labels