-
Notifications
You must be signed in to change notification settings - Fork 178
Typescript + React Tutorial: Cannot read property 'parentCompilation' of undefined #308
Comments
Update - I've updated webpack config and managed to get more errors:
new set of errors:
|
I too got this error, manage to continue working by regressing to version 3.0.0-beta.12. |
I had the same issue Upgrading node to v7.2.1 helped me |
Also when I install
|
I managed to get everything working by freezing awesome-typescript-loader to |
This is actually affecting me when I'm using Angular 2. |
This should be fixed in latest version. |
I have the same problem. Pinning the versions like @wolfgangmeyers didn't work in my case. |
+1 |
I am seeing this too, even after updating everything (also tried downgrading as @wolfgangmeyers with no success): tsc --version: Version 2.1.4 |
+1 I am seeing this too. It was working fine on osx but seems to break on windows. Moving back to older/newer versions of nodejs, typescript or awesome-typescript-loader made no difference. |
what does the CheckerPlugin do? |
Do you tried call as class into curly branches? as this way: |
Uh oh!
There was an error while loading. Please reload this page.
I was following instructions at https://www.typescriptlang.org/docs/handbook/react-&-webpack.html in order to get react and typescript working with webpack. After setting everything up I ran webpack and encountered the following error:
I went to the awesome-typescript-loader readme and made some adjustments to my webpack.config.js. This is what it looks like now:
Now when I run webpack, I get the following error:
Looks like this is related webpack/webpack#3460, opened yesterday. Any ideas how I can work around this in the short-term?
The text was updated successfully, but these errors were encountered: