hey y’all,
Having a whale of a time with the CLI on WIndows x64 Version 10 Enterprise 10.0.17134.
Particle-cli v2 worked w/o issues, apparently got autoupdated(?) and it started complaining about missing modules.
So, tried upgrading/re-installing and it fails with npm errors.
I am behind a corporate proxy, which was never an issue before.
IT says nodejs.org and github.com are whitelisted.
Any recommendations?
Same results whether the windows installer, Workbench or npm install.
See below log.
λ npm install --loglevel verbose -g git+ssh://git@github.com:particle-iot/particle-cli
npm verb cli [
npm verb cli 'C:\\Program Files (x86)\\nodejs\\node.exe',
npm verb cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'prefix',
npm verb cli '-g'
npm verb cli ]
npm info using npm@8.1.2
npm info using node@v16.13.2
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:C:\Program Files (x86)\nodejs\node_modules\npm\npmrc Completed in 2ms
npm timing config:load:builtin Completed in 3ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 1ms
npm timing config:load:file:C:\Users\collig\git\prodmon\.npmrc Completed in 0ms
npm timing config:load:project Completed in 2ms
npm timing config:load:file:C:\Users\collig\.npmrc Completed in 1ms
npm timing config:load:user Completed in 1ms
npm timing config:load:file:C:\Users\collig\AppData\Roaming\npm\etc\npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 1ms
npm timing config:load:credentials Completed in 1ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 14ms
npm timing npm:load:configload Completed in 14ms
npm timing npm:load:setTitle Completed in 0ms
npm timing npm:load:setupLog Completed in 1ms
npm timing config:load:flatten Completed in 3ms
npm timing npm:load:cleanupLog Completed in 2ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load:projectScope Completed in 0ms
npm timing npm:load Completed in 53ms
npm timing command:prefix Completed in 1ms
npm verb exit 0
npm timing npm Completed in 419ms
npm info ok
npm verb cli [
npm verb cli 'C:\\Program Files (x86)\\nodejs\\node.exe',
npm verb cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'install',
npm verb cli '--loglevel',
npm verb cli 'verbose',
npm verb cli '-g',
npm verb cli 'git+ssh://git@github.com:particle-iot/particle-cli'
npm verb cli ]
npm info using npm@8.1.2
npm info using node@v16.13.2
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:C:\Program Files (x86)\nodejs\node_modules\npm\npmrc Completed in 2ms
npm timing config:load:builtin Completed in 2ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 2ms
npm timing config:load:file:C:\Users\collig\git\prodmon\.npmrc Completed in 0ms
npm timing config:load:project Completed in 2ms
npm timing config:load:file:C:\Users\collig\.npmrc Completed in 1ms
npm timing config:load:user Completed in 1ms
npm timing config:load:file:C:\Users\collig\AppData\Roaming\npm\etc\npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 1ms
npm timing config:load:credentials Completed in 1ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 14ms
npm timing npm:load:configload Completed in 14ms
npm timing npm:load:setTitle Completed in 0ms
npm timing npm:load:setupLog Completed in 1ms
npm timing config:load:flatten Completed in 2ms
npm timing npm:load:cleanupLog Completed in 3ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load:projectScope Completed in 1ms
npm timing npm:load Completed in 63ms
npm timing arborist:ctor Completed in 1ms
npm timing idealTree:init Completed in 6ms
npm timing idealTree:userRequests Completed in 267327ms
npm http fetch GET 404 https://registry.nodejs.org/cli-spinner 3089ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/particle-library-manager 3112ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/safe-buffer 3139ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/softap-setup 3178ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/binary-version-reader 3201ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/cli-table 3204ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/node-wifiscanner2 3206ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/particle-api-js 3211ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/lodash 3220ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/particle-commands 3236ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/moment 3245ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/inquirer 3256ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/core-js 3265ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/latest-version 3271ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/glob 3279ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/fs-extra 3284ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/handlebars 3292ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/temp 3289ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/semver 3305ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/chalk 3321ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/verror 3317ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/xtend 3321ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/yargs 3331ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/wiring-preprocessor 3339ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/yeoman-environment 3344ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/yeoman-generator 3350ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/particle-usb 3356ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/serialport 3363ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/cli-spinner 294ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/particle-library-manager 286ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/safe-buffer 263ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/softap-setup 231ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/binary-version-reader 227ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/cli-table 227ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/node-wifiscanner2 229ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/particle-api-js 229ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/lodash 227ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/particle-commands 216ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/moment 218ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/inquirer 216ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/core-js 213ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/latest-version 212ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/glob 212ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/fs-extra 221ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/handlebars 220ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/temp 218ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/semver 210ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/chalk 205ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/verror 209ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/xtend 206ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/yargs 202ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/wiring-preprocessor 202ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/yeoman-environment 201ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/yeoman-generator 207ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/particle-usb 204ms (cache skip)
npm http fetch GET 404 https://registry.nodejs.org/serialport 200ms (cache skip)
npm timing idealTree:#root Completed in 520100ms
npm timing idealTree:node_modules/particle-cli Completed in 32ms
npm timing idealTree:node_modules/particle-cli/node_modules/@particle/device-constants Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/binary-version-reader Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/chalk Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/cli-spinner Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/cli-table Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/core-js Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/fs-extra Completed in 1ms
npm timing idealTree:node_modules/particle-cli/node_modules/glob Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/handlebars Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/inquirer Completed in 1ms
npm timing idealTree:node_modules/particle-cli/node_modules/latest-version Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/lodash Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/moment Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/node-wifiscanner2 Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/particle-api-js Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/particle-commands Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/particle-library-manager Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/particle-usb Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/request Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/safe-buffer Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/semver Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/serialport Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/softap-setup Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/temp Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/verror Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/wiring-preprocessor Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/xtend Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/yargs Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/yeoman-environment Completed in 0ms
npm timing idealTree:node_modules/particle-cli/node_modules/yeoman-generator Completed in 0ms
npm timing idealTree:buildDeps Completed in 520167ms
npm timing idealTree:fixDepFlags Completed in 1ms
npm timing idealTree Completed in 787510ms
npm timing command:install Completed in 787524ms
npm verb type system
npm verb stack FetchError: request to https://registry.nodejs.org/@particle%2fdevice-constants failed, reason: read ECONNRESET
npm verb stack at ClientRequest.<anonymous> (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\minipass-fetch\lib\index.js:110:14)
npm verb stack at ClientRequest.emit (node:events:390:28)
npm verb stack at TLSSocket.socketErrorListener (node:_http_client:447:9)
npm verb stack at TLSSocket.emit (node:events:402:35)
npm verb stack at emitErrorNT (node:internal/streams/destroy:157:8)
npm verb stack at emitErrorCloseNT (node:internal/streams/destroy:122:3)
npm verb stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
npm verb cwd C:\Users\collig\git\prodmon
npm verb Windows_NT 10.0.17134
npm verb argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--loglevel" "verbose" "-g" "git+ssh://git@github.com:particle-iot/particle-cli"
npm verb node v16.13.2
npm verb npm v8.1.2
npm ERR! code ECONNRESET
npm ERR! syscall read
npm ERR! errno ECONNRESET
npm ERR! network request to https://registry.nodejs.org/@particle%2fdevice-constants failed, reason: read ECONNRESET
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm verb exit 1
npm timing npm Completed in 788151ms
npm verb unfinished npm timer reify 1643838905938
npm verb unfinished npm timer reify:loadTrees 1643838905947
npm verb code 1
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\collig\AppData\Local\npm-cache\_logs\2022-02-02T22_08_13_487Z-debug.log