-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
core dump when installing with Node.js 12 #479
Comments
Hi @piranna, Hmm I can't seem to reproduce. Do you also get the error with a new project: mkdir test
cd test
npm init -y
git init
npm install husky -D |
I didn't try with a new project, but going back to Node.js v11.14.0 is working again. I opened an issue on Node.js repo at nodejs/node#27385 and seems it could be related with nodejs/node#27379. |
Same problem here with Node.js v12.0.0 (On Windows 10). |
1 similar comment
Same problem here with Node.js v12.0.0 (On Windows 10). |
Same problem here with Node.js v12.0.0 (On Ubuntu 19.04) |
Same problem here with Node.js v12.0.0 (On Windows 10). |
Can't reproduce using this steps 🤔, everything was ok. Maybe a dependency of the project is causing a conflict, i will continue checking what is the problem. |
Same error here, on Windows 10.
So... I'm guess there's an incompatibility between Node.js Full debug log: Output from console: Y:\projects\foobar> npm install husky
> [email protected] install Y:\projects\foobar\node_modules\husky
> node husky install
husky > setting up git hooks
#
# Fatal error in , line 0
# Check failed: U_SUCCESS(status).
#
#
#
#FailureMessage Object: 000000C05AFBD4F0npm ERR! code ELIFECYCLE |
Same error on Windows 10, Node v12.0.0
|
The problem is in the Node.js side, it's related to a bug in the ICU internationalization database used by v8 (three levels of indirection!!!). The only solution we could do here is to remove any magic related to default locale like usage of |
More info at nodejs/node#27379, seems to be a somewhat important bug, there's a lot of people with problems due to it. |
The crash will be fixed in the next Node.js v12.x release. This issue can be closed. |
Let's wait until we confirm that it gets fixed. |
FYI |
I had pending to write it here, I have checked it and seems to work with Node.js 12.1.0, seems the bug is fixed. |
Thanks for the update @piranna, I'm closing this issue then :) |
You are welcome :-) |
I updated yesterday to Node.js 12, and today after removing
node_modules
folder and makingnpm install
, husky is throwing core dumps when installing the hooks:The npm debug log has only the next references:
The text was updated successfully, but these errors were encountered: