Closed brandom closed 6 years ago
hey @brandom
Could you try nuking your node_modules and reinstalling? See if that helps.
Also, could you do npm ls chalk
and npm ls -g chalk
to help us? thanks!
I've fixed installing chalk
npm install chalk@latest --save-dev
Thanks guys!
had this myself after an npm i @angular/cli@next
but fixed it after deleting package-lock.json
and reinstalling. My lock was depending on chalk 2.1.0 but afterwards it was 2.3.0 and worked
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Bug Report or Feature Request (mark with an
x
)Versions.
Repro steps.
npm i -g @angular/cli@1.5.0-rc.4 ng --version
The log given by the failure.
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.