๐ git push husky hook broken on some local env
Opened this issue ยท 0 comments
ciaranschutte commented
git push
not working sometimes due to husky hook
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/Users/lxiang/.nvm/versions/node/v14.16.1/bin/node',
1 verbose cli '/Users/lxiang/.nvm/versions/node/v14.16.1/bin/npm',
1 verbose cli 'run',
1 verbose cli 'type-check'
1 verbose cli ]
2 info using npm@6.14.12
3 info using node@v14.16.1
4 verbose run-script [ 'pretype-check', 'type-check', 'posttype-check' ]
5 info lifecycle @0.1.25~pretype-check: @0.1.25
6 info lifecycle @0.1.25~type-check: @0.1.25
7 verbose lifecycle @0.1.25~type-check: unsafe-perm in lifecycle true
8 verbose lifecycle @0.1.25~type-check: PATH: /Users/lxiang/.nvm/versions/node/v14.16.1/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lxiang/Projects/icgc-argo/argo-docs/website/node_modules/.bin:/Users/lxiang/Projects/icgc-argo/argo-docs/website/node_modules/.bin:/usr/local/Cellar/git/2.31.0/libexec/git-core:/usr/local/opt/llvm/bin:/Users/lxiang/.nvm/versions/node/v14.16.1/bin:/Users/lxiang/.pyenv/versions/miniconda3-latest/bin:/Users/lxiang/.pyenv/versions/miniconda3-latest/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/lxiang/.local/bin:/Users/lxiang/.local/bin
9 verbose lifecycle @0.1.25~type-check: CWD: /Users/lxiang/Projects/icgc-argo/argo-docs/website
10 silly lifecycle @0.1.25~type-check: Args: [ '-c', 'tsc' ]
11 silly lifecycle @0.1.25~type-check: Returned: code: 1 signal: null
12 info lifecycle @0.1.25~type-check: Failed to exec type-check script
13 verbose stack Error: @0.1.25 type-check: `tsc`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/Users/lxiang/.nvm/versions/node/v14.16.1/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess.<anonymous> (/Users/lxiang/.nvm/versions/node/v14.16.1/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1048:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid @0.1.25
15 verbose cwd /Users/lxiang/Projects/icgc-argo/argo-docs/website
16 verbose Darwin 20.6.0
17 verbose argv "/Users/lxiang/.nvm/versions/node/v14.16.1/bin/node" "/Users/lxiang/.nvm/versions/node/v14.16.1/bin/npm" "run" "type-check"
18 verbose node v14.16.1
19 verbose npm v6.14.12
20 error code ELIFECYCLE
21 error errno 1
22 error @0.1.25 type-check: `tsc`
22 error Exit status 1
23 error Failed at the @0.1.25 type-check script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]