Angular Nativescript无法生成角度组件
我首先使用以下方法创建Nativescript Angular项目: tns创建我的角度应用程序--ng 现在我想生成新的角度分量: tns生成一些组件 它不起作用,我得到了这个错误: 错误:无效的规则结果:类承诺的实例 有人知道怎么解决这个问题吗Angular Nativescript无法生成角度组件,angular,nativescript,angular2-nativescript,nativescript-angular,Angular,Nativescript,Angular2 Nativescript,Nativescript Angular,我首先使用以下方法创建Nativescript Angular项目: tns创建我的角度应用程序--ng 现在我想生成新的角度分量: tns生成一些组件 它不起作用,我得到了这个错误: 错误:无效的规则结果:类承诺的实例 有人知道怎么解决这个问题吗 Error: Invalid rule result: Instance of class Promise. at t.project (..../@nativescript/schematics-executor/dist/index.js
Error: Invalid rule result: Instance of class Promise.
at t.project (..../@nativescript/schematics-executor/dist/index.js:250:1038)
at t._tryNext (..../@nativescript/schematics-executor/dist/index.js:30:1878)
at t._next (..../@nativescript/schematics-executor/dist/index.js:30:1780)
at t.next (..../@nativescript/schematics-executor/dist/index.js:16:1093)
at e._subscribe (..../@nativescript/schematics-executor/dist/index.js:74:13873)
at e._trySubscribe (..../@nativescript/schematics-executor/dist/index.js:16:4641)
at e.subscribe (..../@nativescript/schematics-executor/dist/index.js:16:4427)
at e.call (..../@nativescript/schematics-executor/dist/index.js:30:1459)
at e.subscribe (..../@nativescript/schematics-executor/dist/index.js:16:4299)
at ..../@nativescript/schematics-executor/dist/index.js:145:10377