-
Notifications
You must be signed in to change notification settings - Fork 121
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
Error with the task grunt-ts #352
Comments
If you want to use the reference feature of grunt-ts, the reference file must be included in the compilation src list. It appears you may also be missing some stars in your globs. Run grunt with the with --verbose option and it will show what tsc command-line is being used. |
the stars must be a problem with the copy paste, but there are here. I have run it with --verbose but the return is the same (with more explanations but the same at least). I need to exclude all the files *.d.ts because i don't need to transpile it and there is the problem. |
Hi @Estebitus - sorry it took so long to get back to you. Have you figured out this issue? If not, I would like to help you but I don't think I can with the information you've provided. I need the exact text of the ts section in your gruntfile. I know it's using CoffeeScript - is there a way you can provide the transpiled Gruntfile.js or is Grunt expanding it directly? In either case, please paste in the text in a block using the "insert code" button in the GitHub button bar (or else you can use three back-ticks to mark the start and end of a code block). Thanks. |
FYI: Aborted due to warnings.
|
I try to ignore the typings folder in my grunt coffee script, but when i execute the task it seems that is not excluding it.
This is my script
ts:
default:
src: ["/*.ts", "!typings//.ts", "!node_modules/__/.ts", "!bower_components/*/.ts"]
reference: "typings/reference.ts"
But it return me this. (This is the final part)
typings/main/ambient/lodash/index.d.ts(15824,1): error TS1128: Declaration or statement expected.
Aborted due to warnings.
Can somebody help me please?
The text was updated successfully, but these errors were encountered: