Nativescript+;Angular2(2.0.0-beta.16):“;无法读取属性';扩展';“未定义”的定义;
所以我已经有一段时间在我的项目中使用Angular2的第9个beta版了,所以我决定更新到最新版本。但在我运行命令“tns run android”或“tns livesync android”后,我在模拟器中看到以下消息: 这是我的tsconfig.json:Nativescript+;Angular2(2.0.0-beta.16):“;无法读取属性';扩展';“未定义”的定义;,angular,nativescript,Angular,Nativescript,所以我已经有一段时间在我的项目中使用Angular2的第9个beta版了,所以我决定更新到最新版本。但在我运行命令“tns run android”或“tns livesync android”后,我在模拟器中看到以下消息: 这是我的tsconfig.json: { "compilerOptions": { "rootDir": ".", "module": "commonjs", "target": "es5", "in
{
"compilerOptions": {
"rootDir": ".",
"module": "commonjs",
"target": "es5",
"inlineSourceMap": true,
"experimentalDecorators": true,
"removeComments": false,
"emitDecoratorMetadata": true,
"noEmitOnError": false
},
"exclude": [
"node_modules",
"platforms"
]
}
下面是错误消息中提到的。
正如你所见,还有其他提到的文件,但像第一个一样,所有这些都不是我自己制作的。它们是生成的。那么除了回到Angular 2的第9个beta版,我还能做什么呢
提前感谢您是否尝试将目标和模块更改为不同的值。例如“节点”(用于目标)。它没有更改任何内容:(您是否尝试将目标和模块更改为不同的值。例如“节点”(用于目标)。它没有更改任何内容:(