我尝试了 npm i -g @angular/cli, npm i -g @nativescript/schematics 包,但即使在面临问题之后运行 --> tns generate component shared/actionBar
加载 nativescript-angular-cli 时出错:在子命令之前应该需要默认命令错误:原理图输入不针对架构进行验证:{“inlineStyle”:false,“inlineTemplate”:false,“changeDetection”:“默认”, "style":"css","flat":false,"skipImport":true,"export":false,"entryComponent":false,"project":"App","name":"shared/actionBar", "spec":false,"displayBlock":false,"type":"Component","skipTests":false,"skipSelector":false} 错误:
数据路径“”不应该有额外的属性(entryComponent)。在 t.project (/home/user/.nvm/versions/node/v14.17.0/lib/node_modules/nativescript/node_modules/@nativescript/schematics-executor/dist/index.js:447:403) 在 t._next t.next (/home/ user/.nvm/versions/node/v14.17.0/lib/node_modules/nativescript/node_modules/@nativescript/schematics-executor/dist/index.js:16:1093) 在 t._next (/home/user/.nvm /versions/node/v14.17.0/lib/node_modules/nativescript/node_modules/@nativescript/schematics-executor/dist/index.js:24:35146) 在 t.next (/home/user/.nvm/versions/node /v14.17.0/lib/node_modules/nativescript/node_modules/@nativescript/schematics-executor/dist/index.js:16:1093) 在 t._next (/home/user/.