Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
warrenrumak opened this issue Apr 15, 2015 · 0 comments
Open

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

warrenrumak opened this issue Apr 15, 2015 · 0 comments

Comments

@warrenrumak
Copy link

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.

cailie added a commit to pulseenergy/typescript-loader that referenced this issue Apr 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant