原理图工作流失败 [英] the schematic workflow failed
问题描述
每当我尝试使用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.
推荐答案
使用以下命令检查 Node 和 Npm 版本.
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屋!