This is my first attempt to create Ionic project. Currently I have the below environment
Node: 20.17.0
Angular CLI: 17.3.8
npm: 8.19.4
Just installed ionic using npm install -g @ionic/cli
ionic: 7.2.1
When I ran the command ionic start
, with no wizard, Angular ngModules, got bunch of errors like below:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@angular-devkit/build-angular@20.0.5',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE npm: '^6.11.0 || ^7.5.6 || >=8.0.0',
npm WARN EBADENGINE node: '^20.19.0 || ^22.12.0 || >=24.0.0',
npm WARN EBADENGINE yarn: '>= 1.13.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v20.17.0', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@angular/compiler-cli@20.0.6',
npm WARN EBADENGINE required: { node: '^20.19.0 || ^22.12.0 || >=24.0.0' },
npm WARN EBADENGINE current: { node: 'v20.17.0', npm: '8.19.4' }
npm WARN EBADENGINE }
...
npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
in most of the errors it is giving error for angular packages v20.0.x and requires node ^20.19.0
Questions:
- Does this mean upgrading node to 20.19 will resolve the error, or do I need to do anything else?
- Is it going to upgrade the Angular to 20.0.x version? This may impact my current projects.