This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
npm install fails with missing git hook #1444
Closed
Description
- Version: latest master (0.30.0)
- Platform: mac osx high sierra (10.13.5 (17F77))
- Subsystem: js-ipfs (running node
v9.11.1
and npmv6.1.0
)
Type: Bug
Severity: High
Description: npm install
fails with:
> git-validate@2.2.2 install /Users/dryajov/personal/projects/ipfs/ipfs/js-ipfs/node_modules/git-validate
> node bin/install
fs.js:660
return binding.open(pathModule.toNamespacedPath(path),
^
Error: ENOENT: no such file or directory, open '/Users/dryajov/personal/projects/ipfs/ipfs/js-ipfs/.git/hooks/pre-push'
at Object.fs.openSync (fs.js:660:18)
at Object.fs.writeFileSync (fs.js:1319:33)
at Object.exports.installHooks (/Users/dryajov/personal/projects/ipfs/ipfs/js-ipfs/node_modules/git-validate/lib/utils.js:248:12)
at Object.<anonymous> (/Users/dryajov/personal/projects/ipfs/ipfs/js-ipfs/node_modules/git-validate/bin/install.js:3:7)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
Steps to reproduce the error:
- clone this repo and do an
npm i
Metadata
Metadata
Assignees
Labels
No labels