dexif Again the installation is not done, follow the exit:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\HP\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'git+https://github.com/mqttjs/MQTT.js.git',
1 verbose cli '--save' ]
2 info using npm@6.10.0
3 info using node@v11.11.0
4 verbose npm-session 06febeeb2a636838
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 verbose prepareGitDep undefined: installing devDeps and running prepare script.
8 error prepareGitDep 1>
8 error prepareGitDep > pre-commit@1.2.2 install C:\Users\HP\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-647b5eee\node_modules\pre-commit
8 error prepareGitDep > node install.js
8 error prepareGitDep
8 error prepareGitDep
8 error prepareGitDep > spawn-sync@1.0.15 postinstall C:\Users\HP\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-647b5eee\node_modules\spawn-sync
8 error prepareGitDep > node postinstall
8 error prepareGitDep
8 error prepareGitDep
8 error prepareGitDep > ngrok@2.1.8 postinstall C:\Users\HP\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-647b5eee\node_modules\ngrok
8 error prepareGitDep > node ./postinstall.js
8 error prepareGitDep
8 error prepareGitDep ngrok - downloading binary https://bin.equinox.io/a/chRZWPptE7w/ngrok-2.1.1-windows-amd64.zip ...
8 error prepareGitDep ngrok - binary downloaded...
9 error prepareGitDep 2> npm WARN install Usage of the
--devoption is deprecated. Use
--only=devinstead.
9 error prepareGitDep npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead:
9 error prepareGitDep npm WARN deprecated npm i nyc
9 error prepareGitDep npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
9 error prepareGitDep npm WARN deprecated formatio@1.1.1: This package is unmaintained. Use @sinonjs/formatio instead
9 error prepareGitDep npm WARN deprecated samsam@1.1.2: This package has been deprecated in favour of @sinonjs/samsam
9 error prepareGitDep npm WARN deprecated superagent@0.15.7: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released.
9 error prepareGitDep npm WARN deprecated samsam@1.1.3: This package has been deprecated in favour of @sinonjs/samsam
9 error prepareGitDep npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
9 error prepareGitDep npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
9 error prepareGitDep npm WARN deprecated connect@2.12.0: connect 2.x series is deprecated
9 error prepareGitDep npm WARN deprecated istanbul@0.2.16: This module is no longer maintained, try this instead:
9 error prepareGitDep npm WARN deprecated npm i nyc
9 error prepareGitDep npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
9 error prepareGitDep npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
9 error prepareGitDep npm WARN deprecated tar.gz@1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
9 error prepareGitDep npm WARN deprecated forEachAsync@2.2.1: Please use 'foreachasync' instead. See https://www.npmjs.com/package/foreachasync
9 error prepareGitDep npm WARN deprecated hawk@1.1.1: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
9 error prepareGitDep npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
9 error prepareGitDep npm WARN deprecated minimatch@0.4.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
9 error prepareGitDep npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
9 error prepareGitDep npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
9 error prepareGitDep npm WARN deprecated hoek@0.9.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
9 error prepareGitDep npm WARN deprecated boom@0.4.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
9 error prepareGitDep npm WARN deprecated cryptiles@0.2.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
9 error prepareGitDep npm WARN deprecated sntp@0.2.4: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
9 error prepareGitDep npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
9 error prepareGitDep npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
9 error prepareGitDep ngrok - error unpacking binary Error: You cannot extract a file outside of the target path
9 error prepareGitDep at C:\Users\HP\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-647b5eee\node_modules\decompress-zip\lib\decompress-zip.js:95:21
9 error prepareGitDep at Array.map (<anonymous>)
9 error prepareGitDep at C:\Users\HP\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-647b5eee\node_modules\decompress-zip\lib\decompress-zip.js:91:25
9 error prepareGitDep at _fulfilled (C:\Users\HP\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-647b5eee\node_modules\decompress-zip\node_modules\q\q.js:854:54)
9 error prepareGitDep at C:\Users\HP\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-647b5eee\node_modules\decompress-zip\node_modules\q\q.js:883:30
9 error prepareGitDep at Promise.promise.promiseDispatch (C:\Users\HP\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-647b5eee\node_modules\decompress-zip\node_modules\q\q.js:816:13)
9 error prepareGitDep at C:\Users\HP\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-647b5eee\node_modules\decompress-zip\node_modules\q\q.js:624:44
9 error prepareGitDep at runSingle (C:\Users\HP\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-647b5eee\node_modules\decompress-zip\node_modules\q\q.js:137:13)
9 error prepareGitDep at flush (C:\Users\HP\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-647b5eee\node_modules\decompress-zip\node_modules\q\q.js:125:13)
9 error prepareGitDep at processTicksAndRejections (internal/process/next_tick.js:74:9)
9 error prepareGitDep npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
9 error prepareGitDep npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
9 error prepareGitDep
9 error prepareGitDep npm ERR! code ELIFECYCLE
9 error prepareGitDep npm ERR! errno 1
9 error prepareGitDep npm ERR! ngrok@2.1.8 postinstall:
node ./postinstall.js9 error prepareGitDep npm ERR! Exit status 1
9 error prepareGitDep npm ERR!
9 error prepareGitDep npm ERR! Failed at the ngrok@2.1.8 postinstall script.
9 error prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
9 error prepareGitDep
9 error prepareGitDep npm ERR! A complete log of this run can be found in:
9 error prepareGitDep npm ERR! C:\Users\HP\AppData\Roaming\npm-cache\_logs\2019-09-03T16_43_04_805Z-debug.log
10 silly fetchPackageMetaData error for git+https://github.com/mqttjs/MQTT.js.git premature close
11 timing stage:rollbackFailedOptional Completed in 2ms
12 timing stage:runTopLevelLifecycles Completed in 384720ms
13 verbose stack Error: premature close
13 verbose stack at PassThrough.onclose (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\end-of-stream\index.js:47:67)
13 verbose stack at PassThrough.emit (events.js:202:15)
13 verbose stack at emitCloseNT (internal/streams/destroy.js:59:8)
13 verbose stack at processTicksAndRejections (internal/process/next_tick.js:76:17)
13 verbose stack From previous event:
13 verbose stack at tarballedProps (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\finalize-manifest.js:161:23)
13 verbose stack at cachedManifest.then.cached (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\finalize-manifest.js:49:14)
13 verbose stack From previous event:
13 verbose stack at finalizeManifest (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\finalize-manifest.js:45:25)
13 verbose stack at fetchManifest.then.rawManifest (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\manifest.js:25:14)
13 verbose stack From previous event:
13 verbose stack at pinflight (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\manifest.js:24:38)
13 verbose stack at C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\promise-inflight\inflight.js:29:24
13 verbose stack From previous event:
13 verbose stack at _inflight (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\promise-inflight\inflight.js:28:25)
13 verbose stack at C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\promise-inflight\inflight.js:22:14
13 verbose stack at processImmediate (timers.js:637:19)
13 verbose stack From previous event:
13 verbose stack at inflight (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\promise-inflight\inflight.js:14:40)
13 verbose stack at Object.manifest (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\manifest.js:22:10)
13 verbose stack at fetchPackageMetadata (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\lib\fetch-package-metadata.js:58:10)
13 verbose stack at limited (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\call-limit\call-limit.js:29:10)
13 verbose stack at fs.stat (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:237:20)
13 verbose stack at callback (C:\Users\HP\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:289:20)
13 verbose stack at FSReqCallback.oncomplete (fs.js:158:21)
14 verbose cwd C:\prj_4engage\tstmqtt
15 verbose Windows_NT 6.1.7601
16 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\HP\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "git+https://github.com/mqttjs/MQTT.js.git" "--save"
17 verbose node v11.11.0
18 verbose npm v6.10.0
19 error premature close
20 verbose exit [ 1, true ]