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

"emit failed" error when using the "noEmit: true" flag #490

Closed
Ventajou opened this issue Feb 24, 2017 · 1 comment
Closed

"emit failed" error when using the "noEmit: true" flag #490

Ventajou opened this issue Feb 24, 2017 · 1 comment
Labels

Comments

@Ventajou
Copy link

Expected behavior:
I use this code:

let tsProject = ts.createProject('tsconfig.json', { noEmit: true, baseUrl: './node_modules' });

so I expect no code to be emitted and no error shown when running the task.

Actual behavior:

I get a TypeScript: emit failed which confuses everyone else on my team into thinking there's an error.

@ivogabe ivogabe added the Bug label Dec 28, 2017
@ivogabe
Copy link
Owner

ivogabe commented Jan 10, 2018

Fixed in the latest prerelease. You can install it with npm install [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants