I've installed node from https://nodejs.org/en/download and then I installed angular CLI via NPM using
npm install -g @angular/cli
After it's done, I then try to create a new angular project
ng new new-project
And I get the following error
Error: You provided an invalid object where a stream was expected.
You can provide an Observable, Promise, Array, or Iterable.
You provided an invalid object where a stream was expected.
You can provide an Observable, Promise, Array, or Iterable.
I've tried installing the cli using sudo (and without) and I've reinstalled node: I always get the same error.
I can't find anything about anyone having this issue.
I'm using MacOS.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…