- npm WARN EBADENGINE不支持的引擎{包:'@angular/cli@12.2.6', npm WARN EBADENGINE required: npm WARNEBADENGINE {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警告EBADENGINE当前:{node: 'v10.19.0', npm: '7.22.0'npm警告EBADENGINE不支持的引擎{包:'@angular-devkit/architect@0.1202.6', npm WARN EBADENGINE
required: npm WARN EBADENGINE {node: '^12.14.1 ||>=14.0.0', npmnpm警告EBADENGINE: '^6.11.0 || ^7.5.6', npm警告EBADENGINE
yarn: '>= 1.13.0'}, npm警告EBADENGINE当前:{node:'v10.19.0', npm: '7.22.0'}} npm WARN EBADENGINE不支持的引擎{package: '@angular-devkit/core@12.2.6', npm WARN EBADENGINE
required: npm WARN EBADENGINE {node: '^12.14.1 ||>=14.0.0', npmnpm警告EBADENGINE: '^6.11.0 || ^7.5.6', npm警告EBADENGINE
yarn: '>= 1.13.0'}, npm警告EBADENGINE当前:{node:'v10.19.0', npm: '7.22.0'}} npm WARN EBADENGINE不支持的引擎{package: '@angular-devkit/schematics@12.2.6', npm WARN EBADENGINErequired: npm WARN EBADENGINE {node: '^12.14.1 ||>=14.0.0', npmnpm警告EBADENGINE: '^6.11.0 || ^7.5.6', npm警告EBADENGINE
yarn: '>= 1.13.0'}, npm警告EBADENGINE当前:{node:'v10.19.0', npm: '7.22.0'}} npm WARN EBADENGINE不支持的引擎{package: '@schematics/angular@12.2.6', npm WARN EBADENGINE
required: npm WARN EBADENGINE {node: '^12.14.1 ||>=14.0.0', npmnpm警告EBADENGINE: '^6.11.0 || ^7.5.6', npm警告EBADENGINE
yarn: '>= 1.13.0'}, npm警告EBADENGINE当前:{node:'v10.19.0', npm: '7.22.0'}} npm WARN EBADENGINE不支持的引擎{package: 'open@8.2.1', npm WARN EBADENGINE required: {node:'>=12'}, npm警告EBADENGINE当前:{node: 'v10.19.0', npm:'7.22.0'}} npm WARN已弃用har-validator@5.1.5:此库npm警告已弃用uuid@3.4.0:请升级到版本7或更高版本。旧版本可能会使用Math.random()在某些情况下,已知是有问题的。详见https://v8.dev/blog/math-random。npm警告已弃用request@2.88.2:请求已弃用,请参见https://github.com/request/request/issues/3142
这是你的节点版本,它看起来像是v10.19.0,而Angular需要在12.14.1到14.0.0之间。
我也有同样的疑问,因为部分"node: '^12.14.1 |>=14.0.0'"在= 14";我一直都知道"大于或等于14"…但这里看起来更小或更相等。奇怪。简而言之,Meqwz就是这么说的。你需要一个介于
之间的版本