-
Notifications
You must be signed in to change notification settings - Fork 85
Cannot read property 'pop' of undefined #143
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
We are in the process of merging the two projects. So it’s very likely to exist in both. Can you isolate if this is due to node 11? |
Not work in Linux with node.js 10.5.0 either. |
Can you tell me the last version it does work on? I’ll see if I can track down the issue and fix both plugins. Likely an issue with loader-utils |
I think it has nothing to do with the version of node.js. Causing the problem might be the configuration of |
After modifying |
Would be great to document this in a pull request to our readme, what configuration caused it and what was the solution. I’ll also raise this with webpack and look at solving it |
This issue ran into me out of nowhere. Yea, i don't think it's something version specific either. My node version 13.8.0 and 13.9.0.
The error disappeared after i removed the line I have no idea what it does but removing this i guess isn't an option. It causes all chunks to include those common codes that are supposed to be splitted and not included in any other file. Everything was running fine yesterday. I did an system update yesterday (ubuntu) and no idea what related packages were updated. Probably something Node depends on and spread into mini-css. I have no idea how to debug and get around this issue. Can't even uninstall Nodejs -_- |
Okay. So i figured out, at least in my case, that it's entirely configuration based issue. I mean this issue only appears on certain configs. I couldn't remove So i created a new project. Quickly created files and configs that normally takes me decades to do so XD. The new project was working just fine. So no version specific problems i assumed. I started tweaking my config. This was the entry of the common chunk.
And this inside splitChunks. Notice the same naming 'common'.
All i had to do was change entry chunk name from
That lead me to another issue, not really an issue i assume but something i don't understand. See this was the config for mini-css plugin.
Which was before outputting the
But i have no idea why it was using the |
|
I am temporarily unable to provide a minimal project showing the problem. But maybe is the same problem with webpack-contrib/mini-css-extract-plugin#257.
The text was updated successfully, but these errors were encountered: