arei / npmbox

Utility for creating (boxing) and using (unboxing) an archive of a complete (including all dependencies) npm install.
MIT License
245 stars 34 forks source link

npmbox offline install doesn't work #100

Open mirceac71 opened 3 years ago

mirceac71 commented 3 years ago

0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'install', 1 verbose cli '--global', 1 verbose cli '--cache', 1 verbose cli 'c:/program files/npmbox/.npmbox-cache', 1 verbose cli '--optional', 1 verbose cli '--cache-min', 1 verbose cli '999999', 1 verbose cli '--fetch-retries', 1 verbose cli '0', 1 verbose cli '--fetch-retry-factor', 1 verbose cli '0', 1 verbose cli '--fetch-retry-mintimeout', 1 verbose cli '1', 1 verbose cli '--fetch-retry-maxtimeout', 1 verbose cli '2', 1 verbose cli 'npmbox' 1 verbose cli ] 2 info using npm@6.14.11 3 info using node@v14.15.5 4 verbose npm-session 0f3d16afb91c31a6 5 silly install loadCurrentTree 6 silly install readGlobalPackageData 7 silly fetchPackageMetaData error for npmbox@latest request to https://registry.npmjs.org/npmbox failed, reason: connect ETIMEDOUT 104.16.17.35:443 8 timing stage:rollbackFailedOptional Completed in 2ms 9 timing stage:runTopLevelLifecycles Completed in 21129ms 10 verbose type system 11 verbose stack FetchError: request to https://registry.npmjs.org/npmbox failed, reason: connect ETIMEDOUT 14.16.17.35:443 11 verbose stack at ClientRequest. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\index.js:68:14) 11 verbose stack at ClientRequest.emit (events.js:315:20) 11 verbose stack at TLSSocket.socketErrorListener (_http_client.js:469:9) 11 verbose stack at TLSSocket.emit (events.js:315:20) 11 verbose stack at emitErrorNT (internal/streams/destroy.js:106:8) 11 verbose stack at emitErrorCloseNT (internal/streams/destroy.js:74:3) 11 verbose stack at processTicksAndRejections (internal/process/task_queues.js:80:21) 12 verbose cwd C:\Program Files\npmbox 13 verbose Windows_NT 10.0.14393 14 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--global" "--cache" "c:/program files/npmbox/.npmbox-cache" "--optional" "--cache-min" "999999" "--fetch-retries" "0" "--fetch-retry-factor" "0" "--fetch-retry-mintimeout" "1" "--fetch-retry-maxtimeout" "2" "npmbox" 15 verbose node v14.15.5 16 verbose npm v6.14.11 17 error code ETIMEDOUT 18 error errno ETIMEDOUT 19 error network request to https://registry.npmjs.org/npmbox failed, reason: connect ETIMEDOUT 14.16.17.35:443 20 error network This is a problem related to network connectivity. 20 error network In most cases you are behind a proxy or have bad network settings. 20 error network 20 error network If you are behind a proxy, please make sure that the 20 error network 'proxy' config is set properly. See: 'npm help config' 21 verbose exit [ 1, true ]