I work with Angular 7.1.4. I want to generate a new module with the following line;
ng g m order-process
But I encountered an error:
<
My problem was that my node version was on 8.x.x
but angular >= 8.x.x
requires a node version >= 10.x.x
Im using nvm to change node version. Install it with like so (check link for windows usage)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
after installation install node version 10.x.x
nvm install 10
then switch in terminal like this
nvm use 10