-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Getting error "TypeScript: emit failed" when using allowJs option in typescript@next #259
Comments
How did you define var tsProject = ts.createProject('tsconfig.json', { typescript: require('typescript') }); |
Yes. That is how I have defined tsProject. var tsProject = ts.createProject('./tsconfig.json', {
typescript: require('typescript'),
noExternalResolve: true
}); |
I'm also getting this issue and im not using allowJs and im using typescript 1.8.0. For some reason errors are not emitted This is what I have // tsconfig
// gulp
|
Sorry from my end seems to be working now, I simply changed |
Are you using the latest version of gulp-typescript? |
@stephenlautier Ow wait, I think you're mistaking |
Should be, I'm using v2.10.0 of gulp-typescript. but as I said by simply changing the @ivogabe Correct, I'm not mistaking it however, i just had that one set previously and it used to work still on typescript 1.7.x, now it doesn't which I believe its the correct way |
I am using typescript@next (Version 1.8.0-dev.20160108) with tsconfig.json as
I am trying to use the allowJs option to transpile .js files.
The build task is failing with error "TypeScript: emit failed". There is no other information.
I am not sure how to get more information about the error.
Does gulp-typescript support the allowJS option ? Do I have to do anything different for js files ?
This is my build task:
The text was updated successfully, but these errors were encountered: