-
Notifications
You must be signed in to change notification settings - Fork 178
at-loader does not display checking errors #347
Comments
I have the same issue with the latest version (3.0.0-beta.18) and webpack 2.2 rc3. It always works the very first time, and sometimes it continues to work for a while but once it get stuck with the above message, I have to restart the watch. That's a big blocker. |
May be something different but when using watch I get a listing of all errors on the first compile, and only the "finished with x errors" summary on subsequent compiles. |
Versions: [email protected], [email protected], anything else that could help? |
+1, this is killing me. |
ts-loader works just fine with webpack 2 by the way, if you're stuck. |
+1 |
I can see error detail in browser console. |
+1 |
Hello everybody, could you please try the latest version? Or could someone please create a repo? I have output tests and everything seems to work fine. |
For me it happens only with the webpack 2 node API, with the cli everything works fine |
If you run webpack by hand, the loader acts in https://github.com/s-panferov/awesome-typescript-loader/blob/master/src/instance.ts#L380-L384 You should expect to see the errors in webpack |
Getting same issue "[at-loader] Checking finished with 12 errors". Doesn't show a list of errors in the command line. Only shows me what the errors are when I run. In my case, certain dependencies hadn't been installed (angular 2 cookie and redux) because I had done this before updating my angular starter applications package.json from it's original repo. In other words: run your app on localhost and check whats in the console. Might give some clues. |
I had transpileOnly: true in my at-loader options. Changed it back to false, and got the errors back. |
+1 |
same problem: at-loader: 3.0.8, webpack 2.2.1 |
same problem: at-loader: 3.1.3 webpack 2.4.1 |
Still the same problem here 😢 Tried setting
|
I have faced with the same issue and I made a temporary solution:
I will be glad if this help to someone else. |
@ilyes-garifullin I wonder if your fix merits a PR? Thanks for the tip! |
Just added the filename, makes it easier to find the error: |
Same problem here. Not being able to see the errors with webpack --watch. |
+1 |
Thanks @bsoulier
|
At version 3.2.1 it changes a bit
1. go to node_modules/awesome-typescript-loader/dist/instance.js 2. find statement
3. Add right below it (inside the same if)
|
Is anything being done about this? I'm still having this issue and it's now September. |
I'm trying atl and ran into this problem too. I can always "fix" it by introducing a new error (e.g. removing an import). For some reason this causes the errors to start working again. Initially I thought it simply didn't show the errors if they were the same or a subset of the previous compilation (which would explain why a introducing a new error fixes it), but after using it for a few days I'm not sure anymore... |
Ok I did a bit of investigation and realised it was a configuration problem, I'm going to post it in case anyone else did the same mistake. tl;dr I was not using Longer explanation: However, webpack will only print errors after bundling assets, but based on the change (and possibly your webpack configuration?) it might decide that no bundling is required, and skip printing errors. A few example of changes that would not trigger webpack:
This is because these changes are only relevant to TypeScript. Types are removed when the file is compiled to javascript. The compiled version will look unchanged to webpack... which will probably skip compilation and printing errors. |
@arthens I added CheckerPlugin and set |
@winston01 not sure how useful it's going to be, but here it is |
This is still a problem - |
|
Same problem! |
almost two years. No one fix this problem? |
I think the pull request, #437, is a bit old compared to the latest in the repository since this is now using webpack-log to log information. In order to fix this now you'll want to find this in the runtime.js file:
Go to the end of the function and add this line:
I'll look into creating a new pull request for changes similar to this. |
at-loader just leaves me with the following ambiguous error message:
The text was updated successfully, but these errors were encountered: