-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Compilation Hangs #128
Comments
Do you happen to have Of course the problem could also be any permutation of the other loaders, but I had issues with In any case, replacing |
@prayerslayer I have sass-loader in my configuration and it is definitely causing my webpack to hang. Were you able to get past this? I'm using sass-loader 1.0.2 and node-sass 3.1.1. |
Not really, no. I converted my code to LESS in one project and in the other I stayed on Ah and I think the problem was the definition of an animation with keyframes and all… But don’t press me on this, might be wrong. |
Also been getting this lately, also using sass-loader (1.0.1 & node-sass 3.0.0). Doesn't happen every time though. |
I have similar issue. It appens when I import one file (say Plus, when I load my EDIT: PS. Seems to be relate to this. |
Any updates on this? |
Oh boy. Just added one new module and it's stalling. Works fine if I remove it. |
There is a bug in node-sass that makes Webpack hang when importing SASS files several times. See the following links for more info: * webpack/webpack-dev-server#128 * webpack-contrib/sass-loader#100
+1 |
uh, same thing here |
|
@nkbt +1 this works for me. thanks! |
@nkbt thanks! Works for me too. |
New version of If it works fine for you too, then issue could be closed. |
Updating worked for me! |
Worked for me too updating |
I'm still having an issue with this after updating |
I still have this issue after updating |
Anyone got a fix for this issue? I don't know if it's the sass-loader that is causing the issue; it seems to hang during/just after ts compilation. Don't seem to be able to get logs out of webpack to see what's upsetting it. --loglevel verbose doesn't seem to output much more. |
@mark-norgate Try removing @import statements from your stylesheets one by one. This worked for me... |
I discovered a remedy for the problem; even if it is a bit smelly. I changed this: ./node_modules/.bin/webpack-dev-server --display-reasons --display-chunks --watch --loglevel verbose To this: env UV_THREADPOOL_SIZE=128 ./node_modules/.bin/webpack-dev-server --display-reasons --display-chunks --watch --loglevel verbose Works a treat. It’s the sass-loader that is having problems. Giving it more breathing room like this helps, but it’s still painfully slow. Mark From: Greg Liebowitz notifications@github.com @mark-norgate Try removing @import statements from your stylesheets one by one. This worked for me... — |
Closing this issue because it doesn't seem to be a problem in webpack-dev-server. I'll gladly re-open if anyone can provide a reduced case where it fails. |
I don't have a minimal case for this right now, but for what it's worth, I'm still encountering this issue. |
@SpaceK33z This is an active issue. Issuing |
Also experiencing this problem with a fairly minimal configuration with nothing too crazy in it. |
This really needs re-opened. |
Still a BIG issue on on docker under OS X. Seems to be fine in native OS X or Linux (be it native or docker). For me webpack compiles but gets stuck when an asset get modified - It seems to be stuck in a deadlock (using low CPU) |
Same here inside docker on windows |
same :( |
Got the same issue on docker alpine. Anyone found a fix to this ? |
Compilation hangs for me on docker under OSX host. @sadortun What host do you use? |
@olegpopadko i am building from a terminal |
@peteromano can you create minimum reproducible test repo |
same issue with me with vue cli |
I'm having this issue as well, but it seems to be caused by |
For me using Edit: My particular issue appears to derive from bizarre file system issues (with shared files on a guest machine). The dev server could not read my custom https key files, and couldn't proceed. |
@evilebottnawi No, i am building in an alpine image |
were able to resolve this, I am having the same issue |
I'm trying to upgrade to iojs
1.5.1
from1.2.0
. I'm running into an issue where it gets part way throught the precompilation and then just hangs.Here are the webpack modules I'm running:
The text was updated successfully, but these errors were encountered: