You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
On webpack run: "TypeError: Cannot read property 'name' of undefined" #502
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').
2.3.1 was released and still contains the bug, you can use typescript@next. The fix was NOT released, but resides in master for 2.4.0. They really should release this.
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.
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.
Activity
johnnyreilly commentedon Mar 16, 2017
I've a feeling there are issues with
typeRoots- though i forget the specifics...lbguilherme commentedon Apr 23, 2017
Looks like this was fixed by pull microsoft/TypeScript#15075, issue microsoft/TypeScript#14628. Will be released as TS 2.3.1 soon.
lbguilherme commentedon Apr 28, 2017
2.3.1 was released and still contains the bug, you can use
typescript@next. The fix was NOT released, but resides in master for 2.4.0. They really should release this.Opty1712 commentedon Jun 9, 2017
Got same error. Any news?
johnnyreilly commentedon Jun 9, 2017
Assuming 2.4 resolved it then hang tight for that. It'll be out soon
johnnyreilly commentedon Jun 9, 2017
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!)
stale commentedon Jan 19, 2019
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.
stale commentedon Mar 20, 2019
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.
stale commentedon Mar 27, 2019
Closing as stale. Please reopen if you'd like to work on this further.