Install Angular Unsupported Engine, OSX
I had the same problem. it's working with:
Upgrade the npm version
npm install -g [email protected]
check the current version
Update - 25th Feb 2021
npm 7.5.6
or greater now works with angular-cli
versions 9.1.15
, 10.2.3
, 11.2.2
, 12.0.0-next.2
or greater (within each major version) as per this comment from the Angular team
Original Message - 7th Feb 2021
As of writing npm 7 is not fully supported by angular-cli
as per this GitHub issue
I also get the same warnings on Windows with current: { node: 'v15.4.0', npm: '7.5.2' }
Angular CLI returns a warning when I run ng new
with npm 7 and offers a workaround
npm version 7.5.2 detected.
The Angular CLI currently requires npm version 6.
Please install a compatible version to proceed (`npm install --global npm@6`).
npm 7 was made generally available very recently on 2nd Feb 2021
This an ongoing issue and the npm team have recently added a comment in response to the Angular team to the aforementioned GitHub issue.