holochain / holoscape

A complete end-user deployment of a Holochain conductor with UI for administration and a run-time for hApp UIs
63 stars 8 forks source link

Errors first time running `npm install` #38

Closed jamesray1 closed 4 years ago

jamesray1 commented 4 years ago
➜  ~ gcl https://github.com/holochain/holoscape.git
Cloning into 'holoscape'...
remote: Enumerating objects: 103, done.
remote: Counting objects: 100% (103/103), done.
remote: Compressing objects: 100% (65/65), done.
remote: Total 947 (delta 57), reused 68 (delta 35), pack-reused 844
Receiving objects: 100% (947/947), 30.17 MiB | 175.00 KiB/s, done.
Resolving deltas: 100% (606/606), done.
➜  ~ cd holoscape
➜  holoscape git:(master) npm install
npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated core-js@2.6.10: core-js@<3.0 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

> core-js@2.6.10 postinstall /home/jr/holoscape/node_modules/core-js
> node postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

> core-js@3.4.3 postinstall /home/jr/holoscape/node_modules/global-agent/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

> electron@6.1.5 postinstall /home/jr/holoscape/node_modules/electron
> node install.js

Downloading tmp-2080-0-electron-v6.1.5-linux-x64.zip
Error: read ECONNRESET
/home/jr/holoscape/node_modules/electron/install.js:53
  throw err
  ^

Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27) {
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  syscall: 'read'
}
npm WARN holoscape@0.0.1 No repository field.
npm WARN holoscape@0.0.1 license should be a valid SPDX license expression

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@6.1.5 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the electron@6.1.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!     /home/jr/.npm/_logs/2019-11-27T05_54_08_964Z-debug.log

Since I'm currently running from a somewhat-patchy mobile hotspot and I got some kind of ECONNRESET connection error, I ran npm install again, and got no errors, but warnings, which are posted in #36 and #37.

jamesray1 commented 4 years ago
➜  holoscape git:(master) npm -v
6.12.0
jamesray1 commented 4 years ago

Fixed as per https://github.com/holochain/holochain-rust/issues/1922#issuecomment-558952782.