-
-
Notifications
You must be signed in to change notification settings - Fork 433
On webpack run: "TypeError: Cannot read property 'name' of undefined" #502
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
I've a feeling there are issues with |
Looks like this was fixed by pull microsoft/TypeScript#15075, issue microsoft/TypeScript#14628. Will be released as TS 2.3.1 soon. |
2.3.1 was released and still contains the bug, you can use |
Got same error. Any news? |
Assuming 2.4 resolved it then hang tight for that. It'll be out soon |
Oh and you could try making use of the fork-ts-checker-webpack-plugin (see our docs). It should be run with ts-loader in transpile mode and so might not be affected. Worth a try anyway (perf boost either way!) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
1 similar comment
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing as stale. Please reopen if you'd like to work on this further. |
If
transpileOnly
is true it works. However this is not a permanent solution.Webpack builds very long time and the memory of the webpack process increases over 1.5 GB, until node.js ran out of memory. I literally build just a ts file as entry point which contains
console.log('abc')
.Ts config is currently:
However I tested various other settings. The error stays the same.
Tested with typescript 2.2.1 and 2.3-nightly
Parallel issue in awesome-typescript-loader: s-panferov/awesome-typescript-loader#395
The text was updated successfully, but these errors were encountered: