andreypopp / andreypopp/typescript-loader

Doesn't work with TS 1.5 alpha, which is a required dependency

未关闭
#18 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
81
派生
9
PR 合并指标
30 天内没有已合并 PR

描述

I'm seeing this when compiling TS files:

```
ERROR in [file]
Module build failed: TypeError: Cannot read property 'text' of undefined
at Object.getLength (node_modules\typescript-loader\lib\TypeScriptWebpackHost.js:65:18)
at createLanguageServiceSourceFile (node_modules\typescript-loader\node_modules\typescript\bin\typescript.js:30185:97)
....
```

The issue here seems to be that Typescript's LS host interface has changed between 1.4.1 and 1.5 alpha. typescript-loader probably shouldn't have a required dependency on pre-release versions of typescript; I suggest changing the dependency from ^1.4.1 to ~1.4.1 until TS 1.5 comes out and any required updates to integration with the language services host interface can be made safely.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。