没有项目支持“服务”目标

时间:2021-08-01 13:18:03

标签: angular-cli

我无法运行 angular 项目,ng 服务给我错误

No projects support the 'serve' target.

我试图npm install s 给出兼容性问题

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'hawk@0.10.2',
npm WARN EBADENGINE   required: { node: '0.8.x' },
npm WARN EBADENGINE   current: { node: 'v14.17.3', npm: '7.20.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'hoek@0.7.6',
npm WARN EBADENGINE   required: { node: '0.8.x' },
npm WARN EBADENGINE   current: { node: 'v14.17.3', npm: '7.20.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'module@0.0.1',
npm WARN EBADENGINE   required: { node: '>= 0.2.9 < 0.7.0' },
npm WARN EBADENGINE   current: { node: 'v14.17.3', npm: '7.20.2' }
npm WARN EBADENGINE }

对这个问题有什么想法吗?

0 个答案:

没有答案