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

问题描述 投票:0回答:1

screenshot

app文件夹中的文件太奇怪了,tslib。*文件是什么?应该有app.component。*和main.ts等。

angular nativescript tns
1个回答
0
投票

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

sudo rm -rf /usr/local/lib/node_modules/nativescript
npm install nativescript -g
© www.soinside.com 2019 - 2024. All rights reserved.