-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Node.js hangs at process.exit() under certain circumstance #17872
Comments
Can you reproduce whatever the issue is without using node-sass? Based on reading the links, it seems like this is an issue with node-sass and not Node.js core. |
The document says
https://nodejs.org/dist/latest-v9.x/docs/api/process.html#process_process_exit_code So I think this is an issue with Node.js core. I will try to reproduce it without node-sass. |
As far as I know to problem could be the following:
|
^ That's almost certainly it. I'm going to close this out because there's no reason to believe it's an issue with node.js itself. |
I have the same problem but while using Ionic. There's probably some thread that is deadlocked and I have to idea how to kill that process. If I type in the terminal:
It hangs... or a simple
it also hangs |
To reproduce, create the following two files, install node-sass and run
node index.js
.I got 'exit' printed and the Node.js process hanging.
There is a similar but different issue, sass/node-sass#857, which contains some helpful information for debugging.
This issue was initially reported at webpack-contrib/sass-loader#523 and I wrote a workaround at webpack/webpack#6193.
entry.scss
index.js
The text was updated successfully, but these errors were encountered: