I am using angular ng new command to create a application.
ng new angular-hello-world.
got below error. npm version 7.5.1 detected. The Angular CLI currently requires npm version 6.
Please install a compatible version to proceed (npm install --global npm@6
).
any idea what it is ? why need to install npm@6
try this instead
npm install --global npm@6
Yo can solve this problem using the latest Node.js version compatible with npm 6: Node.js 14.15.Z
Use nvm (Mac or Linux) or nvm windows (Windows only) to manage multiple Node.js versions in your computer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With