Webpack error with autoit.js: Maximum call stack size exceeded
See original GitHub issueI’m not sure if this is a highlight.js problem or webpack, but when webpack attempts to bundle highlight.js version 8.7, it chokes on autoit.js:
ERROR in ../~/highlight.js/lib/languages/autoit.js
Module build failed: Maximum call stack size exceeded
@ ../~/highlight.js/lib/index.js 12:32-61
Had to pin to ~8.6.0 to get around this. Using node 0.10.25.
Issue Analytics
- State:
- Created 8 years ago
- Comments:21 (5 by maintainers)
Top Results From Across the Web
[webpack]: npm ERR! Maximum call stack size exceeded
While doing npm i -D webpack I am getting the following error. npm ERR! Maximum call stack size exceeded npm ERR! A complete...
Read more >webpack/webpack - Gitter
Anyone getting "Uncaught RangeError: Maximum call stack size exceeded" after a hot ... There is a bug in Chrome when using source Maps...
Read more >Webpack, Sass – Maximum call stack size exceeded - iTecNote
I'm using Webpack for my JS application. For the styles I'm using Sass. My application is pretty big, so I'm using a lot...
Read more >How Buffer Overflow Attacks Work
How To Run Javascript From Python - Detailed Guide? ... Uncaught RangeError: Maximum call stack size exceeded owl carousel · matplotlib circle outline....
Read more >JavaScript license information
d3-selection/src/selection/call.js ... @sentry/webpack-plugin/src/sentry-webpack.module.js ... core-js/internals/error-stack-installable.js ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I resolved it in webpack config file by adding to module.noParse option new RegExp, e.g. like this:
I looked more closely into AutoIt and found out it is simply too big anyway. I reduced the list based on the official docs of the languages which reduced the size of the whole library by about 20% and as a side effect fixed this issue.