tns无法在mac high sierra上创建ng app?

时间:2017-11-08 00:58:56

标签: angular nativescript tns

screenshot

app文件夹中的文件太奇怪了,tslib。*文件是什么?应该有app.component。*和main.ts以及其他东西。

1 个答案:

答案 0 :(得分:0)

当我重新安装nativescript cli时,问题就消失了。 重新安装cmd是:

sudo rm -rf /usr/local/lib/node_modules/nativescript
npm install nativescript -g