简体   繁体   中英

Why am I getting syntax error while installing NPM?

I have installed NodeJS v17.5.0 but when I am trying to install angular/cli using npm syntax in command prompt it is showing error

C:\Users\bjnai>npm install -g @angular/cli

The syntax of the command is incorrect.
The syntax of the command is incorrect.
The syntax of the command is incorrect.
/F was unexpected at this time.

Error Image

Try running these commands:

npm cache clean --force
npm install -g @angular/cli

Next time better just paste errors here, so we can copy them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM