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

我无法运行 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: '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: '7.20.2' }
npm WARN EBADENGINE }

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

zhengbanririye 回答:没有项目支持“服务”目标

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/1964.html

大家都在问