Skip to content

core dump when installing with Node.js 12 #479

@piranna

Description

@piranna

I updated yesterday to Node.js 12, and today after removing node_modules folder and making npm install, husky is throwing core dumps when installing the hooks:

> husky@1.3.1 install /home/piranna/Trabajo/lingbe/client-core/node_modules/husky
> node husky install

husky > setting up git hooks


#
# Fatal error in , line 0
# Check failed: U_SUCCESS(status).
#
#
#
#FailureMessage Object: 0x7ffe72d576f0Illegal instruction (core dumped)

npm ERR! code ELIFECYCLE
npm ERR! errno 132
npm ERR! husky@1.3.1 install: `node husky install`
npm ERR! Exit status 132
npm ERR! 
npm ERR! Failed at the husky@1.3.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

The npm debug log has only the next references:

30754 silly install husky@1.3.1
30755 info lifecycle husky@1.3.1~install: husky@1.3.1
30756 verbose lifecycle husky@1.3.1~install: unsafe-perm in lifecycle true
30757 verbose lifecycle husky@1.3.1~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/piranna/Trabajo/lingbe/client-core/node_modules/husky/node_modules/.bin:/home/piranna/Trabajo/lingbe/client-core/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/piranna/Android/Sdk/emulator:/home/piranna/Android/Sdk/tools:/home/piranna/Android/Sdk/tools/bin:/home/piranna/Android/Sdk/platform-tools:/home/piranna/Trabajo/Ventrata/depot_tools
30758 verbose lifecycle husky@1.3.1~install: CWD: /home/piranna/Trabajo/lingbe/client-core/node_modules/husky
30759 silly lifecycle husky@1.3.1~install: Args: [ '-c', 'node husky install' ]
30760 silly lifecycle husky@1.3.1~install: Returned: code: 132  signal: null
30761 info lifecycle husky@1.3.1~install: Failed to exec install script

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions