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:

> [email protected] 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! [email protected] install: `node husky install`
npm ERR! Exit status 132
npm ERR! 
npm ERR! Failed at the [email protected] 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 [email protected]
30755 info lifecycle [email protected]~install: [email protected]
30756 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle true
30757 verbose lifecycle [email protected]~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 [email protected]~install: CWD: /home/piranna/Trabajo/lingbe/client-core/node_modules/husky
30759 silly lifecycle [email protected]~install: Args: [ '-c', 'node husky install' ]
30760 silly lifecycle [email protected]~install: Returned: code: 132  signal: null
30761 info lifecycle [email protected]~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