'i cant install angular linux

  1. npm WARN EBADENGINE Unsupported engine { package: '@angular/[email protected]', npm WARN EBADENGINE required: npm WARN EBADENGINE { node: '^12.14.1 || >=14.0.0', npm WARN EBADENGINE
    npm: '^6.11.0 || ^7.5.6', npm WARN EBADENGINE yarn: '>= 1.13.0' }, npm WARN EBADENGINE current: { node: 'v10.19.0', npm: '7.22.0' } } npm WARN EBADENGINE Unsupported engine { package: '@angular-devkit/[email protected]', npm WARN EBADENGINE
    required: npm WARN EBADENGINE { node: '^12.14.1 || >=14.0.0', npm WARN EBADENGINE npm: '^6.11.0 || ^7.5.6', npm WARN EBADENGINE
    yarn: '>= 1.13.0' }, npm WARN EBADENGINE current: { node: 'v10.19.0', npm: '7.22.0' } } npm WARN EBADENGINE Unsupported engine { package: '@angular-devkit/[email protected]', npm WARN EBADENGINE
    required: npm WARN EBADENGINE { node: '^12.14.1 || >=14.0.0', npm WARN EBADENGINE npm: '^6.11.0 || ^7.5.6', npm WARN EBADENGINE
    yarn: '>= 1.13.0' }, npm WARN EBADENGINE current: { node: 'v10.19.0', npm: '7.22.0' } } npm WARN EBADENGINE Unsupported engine { package: '@angular-devkit/[email protected]', npm WARN EBADENGINE required: npm WARN EBADENGINE { node: '^12.14.1 || >=14.0.0', npm WARN EBADENGINE npm: '^6.11.0 || ^7.5.6', npm WARN EBADENGINE
    yarn: '>= 1.13.0' }, npm WARN EBADENGINE current: { node: 'v10.19.0', npm: '7.22.0' } } npm WARN EBADENGINE Unsupported engine { package: '@schematics/[email protected]', npm WARN EBADENGINE
    required: npm WARN EBADENGINE { node: '^12.14.1 || >=14.0.0', npm WARN EBADENGINE npm: '^6.11.0 || ^7.5.6', npm WARN EBADENGINE
    yarn: '>= 1.13.0' }, npm WARN EBADENGINE current: { node: 'v10.19.0', npm: '7.22.0' } } npm WARN EBADENGINE Unsupported engine { package: '[email protected]', npm WARN EBADENGINE required: { node: '>=12' }, npm WARN EBADENGINE current: { node: 'v10.19.0', npm: '7.22.0' } } npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142


Solution 1:[1]

It's your node version, it looks like it's v10.19.0 and Angular requires between 12.14.1 and below 14.0.0 More info is here.

Solution 2:[2]

I had the same doubnt because of the part "node: '^12.14.1 || >=14.0.0'" ">=14" i've always known as "larger o equal than 14" ...but here it seems to be smaller or equal. weird. So in short is how Meqwz says. you need a version between those

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Meqwz
Solution 2 danistor_m