Hello,
I installed cli with command:
sudo npm install -g @angular/cli@10.1.6
which is the last release at this moment.
I tried ng new angularclient
and I had this error:
Unknown error: SyntaxError: Unexpected token 'export'
I tried just ng and had the same error.
I try to discover Angular so this is a big stop for me in discovering Angular ;)
Here is the package info:
>
sudo npm info @angular/cli dist-tags { latest: '10.1.6', next: '11.0.0-next.6', 'v6-lts': '6.2.9', 'v8-lts': '8.3.29', 'v7-lts': '7.3.10', 'v9-lts': '9.1.12'
>
node -v v12.19.0
Hi @dumitru-h,
I cannot replicate the error with the steps provided.