MetaMask / key-tree

MIT License
49 stars 19 forks source link

8.0.0 fails to npm install #145

Closed hugomrdias closed 1 year ago

hugomrdias commented 1 year ago

This version has a postinstall script to run simple-git-hooks, but this package is in the dev dependencies and honestly git hooks should not be installed for users.

I personally also use simple-git-hooks but as a manual install step for developers.

.../node_modules/@metamask/key-tree postinstall$ simple-git-hooks
.../node_modules/@metamask/key-tree postinstall: sh: 1: simple-git-hooks: not found
 ELIFECYCLE  Command failed.
.../node_modules/simple-git-hooks postinstall$ node ./postinstall.js
Error: Process completed with exit code 1.