-
Notifications
You must be signed in to change notification settings - Fork 129
gulp-typescript compiler option errors (Version : 3.1.0) #450
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
Comments
Looks like a duplicate of #449. Upgrading to version 3.1.1 |
Sorry, that's not the case. |
The problem is in the following expression: |
Perfect! That fixed those errors. I got confused with "Revised API of main function" at http://dev.ivogabe.com/gulp-typescript-3/ which says : The first argument options accepts either an object with compiler options, or a 'project', created by ts.createProject. |
The old API was |
Expected behavior:
Actual behavior:
On running gulp task I am getting following errors:
error TS5023: Unknown compiler option '_readableState'.
error TS5023: Unknown compiler option 'readable'.
error TS5023: Unknown compiler option 'domain'.
error TS5023: Unknown compiler option '_events'.
error TS5023: Unknown compiler option '_eventsCount'.
error TS5023: Unknown compiler option '_maxListeners'.
error TS5023: Unknown compiler option '_writableState'.
error TS5023: Unknown compiler option 'writable'.
error TS5023: Unknown compiler option 'allowHalfOpen'.
error TS5023: Unknown compiler option 'js'.
error TS5023: Unknown compiler option 'dts'.
error TS5024: Compiler option 'project' requires a value of type string.
Your gulpfile:
Include your gulpfile, or only the related task (with
ts.createProject
).tsconfig.json
Include your tsconfig, if related to this issue.
Code
Include your TypeScript code, if necessary.
The text was updated successfully, but these errors were encountered: