【发布时间】:2017-02-18 08:07:07
【问题描述】:
我现在遇到了 Angular2error 问题。我收到一条消息
无法读取未定义的属性“AssetUrl”
我看到了信息(Angular 2 - Cannot read property 'AssetUrl' of undefined)。
我想编辑package.json。但是,我找不到这个文件。
我正在使用 nodebrew 安装 node.js。
ng new app
此命令导致此错误:
无法读取未定义的属性“AssetUrl”
包文件尚未创建。
【问题讨论】:
-
尝试卸载并清除 npm 缓存并再次安装 angular cli
-
1stCommand[npm uninstall -g angular-cli] 2ndCommand[npm cache clean] 3rdCommand[npm install -g angular-cli@1.0.0-beta.17] 4th[ng -v] displey char [无法读取未定义的属性'AssetUrl']你知道其他程序吗?
标签: angular angular-cli