andreypopp / andreypopp/typescript-loader

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

オープン
#18 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。