flowchain/flowchain-hybrid

npm install flowchain-cli -g fail

WilliamFangCA opened this issue · 0 comments

coco@ubuntu:~$ npm install flowchain-cli -g
loadDep:seqlist → resolve ▐ ╢█████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine flowchain-ledger@0.3.5: wanted: {"node":"8.14"} (current: {"node":"npm WARN deprecated ipfs-api@26.1.2: ipfs-api has been renamed to ipfs-http-client, please update your package.json to get the latest version.
loadDep:through2 → get ▀ ╢█████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine peer-id@0.12.2: wanted: {"node":">=10.0.0","npm":">=6.0.0"} (currenloadDep:readable-stream ▌ ╢█████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine libp2p-crypto@0.16.1: wanted: {"node":">=10.0.0","npm":">=6.0.0"} (npm WARN checkPermissions Missing write access to /usr/local/lib
/usr/local/lib
└─┬ flowchain-cli@1.0.11
├─┬ chalk@1.1.3
│ ├── ansi-styles@2.2.1
│ ├── escape-string-regexp@1.0.5
│ ├─┬ has-ansi@2.0.0
│ │ └── ansi-regex@2.1.1
│ ├── strip-ansi@3.0.1
│ └── supports-color@2.0.0
├── commander@2.20.0
├── elegant-spinner@1.0.1
├─┬ log-update@1.0.2
│ ├── ansi-escapes@1.4.0
│ └─┬ cli-cursor@1.0.2
│ └─┬ restore-cursor@1.0.1
│ ├── exit-hook@1.1.1
│ └── onetime@1.1.0
├─┬ path@0.12.7
│ ├── process@0.11.10
│ └─┬ util@0.10.4
│ └── inherits@2.0.3
├─┬ serve-static@1.13.2
│ ├── encodeurl@1.0.2
│ ├── escape-html@1.0.3
│ ├── parseurl@1.3.2
│ └─┬ send@0.16.2
│ ├── debug@2.6.9
│ ├── depd@1.1.2
│ ├── destroy@1.0.4
│ ├── etag@1.8.1
│ ├── fresh@0.5.2
│ ├─┬ http-errors@1.6.3
│ │ ├── setprototypeof@1.1.0
│ │ └── statuses@1.5.0
│ ├── mime@1.4.1
│ ├── ms@2.0.0
│ ├─┬ on-finished@2.3.0
│ │ └── ee-first@1.1.1
│ ├── range-parser@1.2.0
│ └── statuses@1.4.0
└── shelljs@0.6.1

npm ERR! Linux 4.18.0-15-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "flowchain-cli" "-g"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! path /usr/local/lib
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access

npm ERR! Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR! { Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR! /home/coco/npm-debug.log