【发布时间】:2016-08-31 03:33:55
【问题描述】:
我在使用 ng2-charts 时遇到问题。 Error image
这是我的 systemjs 配置代码
<script>
System.config({
packages: {
app: {
format: 'register',
defaultExtension: 'js'
}
}
});
System.import('app/boot')
.then(null, console.error.bind(console));
</script>
angular2-polyfills.js:138 Uncaught SyntaxError: Unexpected token
【问题讨论】:
-
什么错误? . . ..
-
点击错误图片我附上了图片 Günter Zöchbauer
-
最好内联添加图片,而不是链接到外部资源。此外,将错误消息添加为文本对于遇到相同问题的其他开发人员来说也是一个好主意,以便能够搜索它。
标签: angular asp.net-core-mvc systemjs ng2-charts