小编Joh*_*ang的帖子

无法读取未定义的属性'getLineAndCharacterOfPosition'

我遇到了这个错误,有人可以帮助我吗?我刚升级到Angular2.4.3

$ ng serve                                                                                                                                                                              [19:46:01]
** NG Live Development Server is running on http://localhost:4200. **
Hash: ed77e2590987da94e9d9                                                              
Time: 4165ms
chunk    {0} scripts.bundle.js, scripts.bundle.map (scripts) 1.42 MB {4} [initial] [rendered]
chunk    {1} styles.bundle.js, styles.bundle.map (styles) 203 kB {4} [initial] [rendered]
chunk    {2} main.bundle.js, main.bundle.map (main) 576 bytes {3} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.map (vendor) 234 kB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry] [rendered]

ERROR in Cannot read property 'getLineAndCharacterOfPosition' of undefined

ERROR in ./src/main.ts
Module build …
Run Code Online (Sandbox Code Playgroud)

angular

11
推荐指数
2
解决办法
2215
查看次数

标签 统计

angular ×1