C:\Code\test>npm i node-threadpool
> node-threadpool@1.5.5 postinstall C:\Code\test\node_modules\node-threadpool
> gitbook install
'gitbook' is not recognized as an internal or external command,
operable program or batch file.
npm WARN test@0.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-threadpool@1.5.5 postinstall: `gitbook install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-threadpool@1.5.5 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\tyler\AppData\Roaming\npm-cache\_logs\2018-09-06T01_47_27_644Z-debug.log
npm i node-threadpool --ignore-scripts
I was able to install with --