-
Notifications
You must be signed in to change notification settings - Fork 112
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
compiler does not catch empty compilerHost #130
Comments
Hey @ChristophAtAdlos, could you attach a file with the complete debug log output here please? |
You will find the debug log at Gist. |
#19 helped to go further (declare tsconfig.json) Now it hangs on |
In the meantime, I got karma-typescript running. I updated npm itself to latest version and rebuilt node_modules from scratch. Tho only thing I had to make is apply the patch from #129 . |
I'm gonna have to chalk this one up as a botched installation issue, I tried using the compiler options you listed and that doesn't result in an empty host. Also, the debug log you provided has a quite specific Typescript error message about not finding any files using the include paths, I'm not sure I can improve anything here. |
The error when running karma-typescript:
Fatal error: Cannot read property 'getNewLine' of undefined
In compiler.js at outputDiagnostics(), the host is an empty Object.
At setupRecompile(), the host was created with the following output from
getTsconfig().options
:this results in an empty Object.
A specific error message would be helpfully.
In karma config, settings are
target: "ES5"
andmodule: "commonjs"
.From where is the configFilePath collected?
The text was updated successfully, but these errors were encountered: