原理图工作流失败 [英] the schematic workflow failed

查看:59
本文介绍了原理图工作流失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试使用ng new --collection=@nativescript/schematics --name=my-app --shared或者生成项目的任何其他命令行命令,我可以在其中开发 PWA 应用程序(Web + Mobile)它也以错误结束,如下所示 -原理图工作流程失败.我已经安装了最新版本的新产品管理角cliNativescript cli本机脚本/原理图我在 Windows 8 上这样做有人知道问题出在哪里吗?

Whenever I tried using ng new --collection=@nativescript/schematics --name=my-app --shared OR Any of the other command line commands to generate a project in which I can develop PWA app (Web + Mobile) it also ends with error as follows - the schematic workflow failed. I have installed latest versions of NPM Angular cli Nativescript cli nativescript/schematics I am doing this on windows 8 Anybody know what the problem is?

已在网上搜索但未能找到解决方案.谢谢.

Have searched online but have failed to get a solution. Thanks.

推荐答案

  1. 使用以下命令检查 Node 和 Npm 版本.

  1. Check Node and Npm versions using the below command.

node -v 

npm -v

  • 如果 npm 版本 >= 7.根据网上信息,Angular 团队建议暂时使用 npm 6.

  • if npm version >= 7.As per online info, the Angular team recommends using npm 6 for now.

    npm install -g npm@6 
    

  • 清理 npm 缓存

  • clean npm cache

    npm cache clean --force
    

  • 安装最新的 NG CLI

  • install latest NG CLI

    npm install -g @angular/cli@latest
    

  • 这篇关于原理图工作流失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆