janoside / lndash

Admin UI for LND
https://lnd-admin.btc21.org
MIT License
76 stars 24 forks source link

installation woes #39

Closed th3geek closed 5 years ago

th3geek commented 5 years ago

Describe the bug unable to install

Environment (please complete the following information): -0.6.1-beta commit=v0.6.1-beta-12-gf8c824fb1d6c5ef8524148f59ea5650af65af98b

To me, it looks like the system is trying to use an older version of nodejs, but it says I have version 8.10 installed which should be good. Any suggestions?

Following the instructions to install from source:

user@Think:~$ git clone https://github.com/janoside/lnd-admin.git
Cloning into 'lnd-admin'...
remote: Enumerating objects: 621, done.
remote: Counting objects: 100% (621/621), done.
remote: Compressing objects: 100% (316/316), done.
remote: Total 2040 (delta 398), reused 467 (delta 271), pack-reused 1419
Receiving objects: 100% (2040/2040), 2.75 MiB | 15.71 MiB/s, done.
Resolving deltas: 100% (1390/1390), done.
user@Think:~$ cd lnd-admin/
user@Think:~/lnd-admin$ npm install
npm WARN engine cacheable-request@6.0.0: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine meow@5.0.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine normalize-url@3.3.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine @szmarczak/http-timer@1.1.2: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine latest-version@5.1.0: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine to-readable-stream@1.0.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine p-cancelable@1.1.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine package-json@6.3.0: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine punycode@2.1.1: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine registry-url@5.1.0: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine har-validator@5.1.3: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine base64url@3.0.1: wanted: {"node":">=6.0.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine @grpc/proto-loader@0.5.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine dotenv@6.2.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine @sindresorhus/is@0.14.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine got@9.6.0: wanted: {"node":">=8.6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine get-stream@4.1.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine get-stream@4.1.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
|
> protobufjs@6.8.8 postinstall /home/user/lnd-admin/node_modules/@grpc/proto-loader/node_modules/protobufjs
> node scripts/postinstall

> grpc@1.19.0 install /home/user/lnd-admin/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using request for node-pre-gyp https download 
[grpc] Success: "/home/user/lnd-admin/node_modules/grpc/src/node/extension_binary/node-v46-linux-x64-glibc/grpc_node.node" is installed via remote
invert-kv@1.0.0 node_modules/invert-kv

isarray@2.0.4 node_modules/isarray

minimalistic-assert@1.0.1 node_modules/minimalistic-assert

defer-to-connect@1.0.2 node_modules/defer-to-connect

can-promise@0.0.1 node_modules/can-promise

aws-sign2@0.7.0 node_modules/aws-sign2

spdx-exceptions@2.2.0 node_modules/spdx-exceptions

is-builtin-module@1.0.0 node_modules/is-builtin-module

arrify@1.0.1 node_modules/arrify

escape-html@1.0.3 node_modules/escape-html

@types/long@4.0.0 node_modules/@types/long

decamelize@1.2.0 node_modules/decamelize

forever-agent@0.6.1 node_modules/forever-agent

array-find-index@1.0.2 node_modules/array-find-index

strip-ansi@3.0.1 node_modules/strip-ansi

strip-eof@1.0.0 node_modules/strip-eof

ansi-regex@2.1.1 node_modules/ansi-regex

is-plain-obj@1.1.0 node_modules/is-plain-obj

get-caller-file@1.0.3 node_modules/get-caller-file

locate-path@2.0.0 node_modules/locate-path

lowercase-keys@1.0.1 node_modules/lowercase-keys

mimic-fn@1.2.0 node_modules/mimic-fn

longest@1.0.1 node_modules/longest

p-finally@1.0.0 node_modules/p-finally

oauth-sign@0.9.0 node_modules/oauth-sign

load-json-file@2.0.0 node_modules/load-json-file

p-try@1.0.0 node_modules/p-try

path-key@2.0.1 node_modules/path-key

path-exists@3.0.0 node_modules/path-exists

pug-error@1.3.2 node_modules/pug-error

prepend-http@2.0.0 node_modules/prepend-http

number-is-nan@1.0.1 node_modules/number-is-nan

redent@2.0.0 node_modules/redent

read-pkg-up@2.0.0 node_modules/read-pkg-up

shebang-command@1.2.0 node_modules/shebang-command

right-align@0.1.3 node_modules/right-align

strip-indent@2.0.0 node_modules/strip-indent

strip-bom@3.0.0 node_modules/strip-bom

to-readable-stream@1.0.0 node_modules/to-readable-stream

to-fast-properties@1.0.3 node_modules/to-fast-properties

trim-newlines@2.0.0 node_modules/trim-newlines

tunnel-agent@0.6.0 node_modules/tunnel-agent

spdx-license-ids@3.0.3 node_modules/spdx-license-ids

url-parse-lax@3.0.0 node_modules/url-parse-lax

spdx-correct@3.1.0 node_modules/spdx-correct

untildify@3.0.3 node_modules/untildify

shebang-regex@1.0.0 node_modules/shebang-regex

array-flatten@1.1.1 node_modules/array-flatten

decompress-response@3.3.0 node_modules/decompress-response

brace-expansion@1.1.11 node_modules/brace-expansion

path-is-absolute@1.0.1 node_modules/path-is-absolute

clone-response@1.0.2 node_modules/clone-response

ee-first@1.1.1 node_modules/ee-first

camelcase@2.1.1 node_modules/camelcase

string-width@1.0.2 node_modules/string-width

end-of-stream@1.4.1 node_modules/end-of-stream

align-text@0.1.4 node_modules/align-text

destroy@1.0.4 node_modules/destroy

pify@2.3.0 node_modules/pify

@types/babylon@6.16.5 node_modules/@types/babylon

code-point-at@1.1.0 node_modules/code-point-at

error-ex@1.3.2 node_modules/error-ex

os-locale@1.4.0 node_modules/os-locale

wrap-ansi@2.1.0 node_modules/wrap-ansi

inflight@1.0.6 node_modules/inflight

indent-string@3.2.0 node_modules/indent-string

find-up@2.1.0 node_modules/find-up

ini@1.3.5 node_modules/ini

is-fullwidth-code-point@1.0.0 node_modules/is-fullwidth-code-point

is-stream@1.1.0 node_modules/is-stream

lazy-cache@1.0.4 node_modules/lazy-cache

kind-of@3.2.2 node_modules/kind-of

map-obj@2.0.0 node_modules/map-obj

lru-cache@4.1.5 node_modules/lru-cache

mimic-response@1.0.1 node_modules/mimic-response

minimist-options@3.0.2 node_modules/minimist-options

p-limit@1.3.0 node_modules/p-limit

object-assign@4.1.1 node_modules/object-assign

npm-run-path@2.0.2 node_modules/npm-run-path

normalize-url@3.3.0 node_modules/normalize-url

ms@2.0.0 node_modules/ms

once@1.4.0 node_modules/once

quick-lru@1.1.0 node_modules/quick-lru

repeat-string@1.6.1 node_modules/repeat-string

mem@1.1.0 node_modules/mem

path-type@2.0.0 node_modules/path-type

read-pkg@2.0.0 node_modules/read-pkg

runes@0.4.3 node_modules/runes

strip-json-comments@2.0.1 node_modules/strip-json-comments

validate-npm-package-license@3.0.4 node_modules/validate-npm-package-license

y18n@3.2.1 node_modules/y18n

wrappy@1.0.2 node_modules/wrappy

window-or-global@1.0.1 node_modules/window-or-global

duplexer3@0.1.4 node_modules/duplexer3

p-locate@2.0.0 node_modules/p-locate

keyv@3.1.0 node_modules/keyv

lodash.camelcase@4.3.0 node_modules/lodash.camelcase

@szmarczak/http-timer@1.1.2 node_modules/@szmarczak/http-timer

responselike@1.0.2 node_modules/responselike

http-cache-semantics@4.0.3 node_modules/http-cache-semantics

minimatch@3.0.4 node_modules/minimatch

lodash.clone@4.5.0 node_modules/lodash.clone

optjs@3.2.2 node_modules/optjs

setprototypeof@1.1.0 node_modules/setprototypeof

assert-plus@1.0.0 node_modules/assert-plus

cookie-signature@1.0.6 node_modules/cookie-signature

utils-merge@1.0.1 node_modules/utils-merge

with@5.1.1 node_modules/with

cliui@3.2.0 node_modules/cliui

character-parser@2.2.0 node_modules/character-parser

balanced-match@1.0.0 node_modules/balanced-match

content-type@1.0.4 node_modules/content-type

media-typer@0.3.0 node_modules/media-typer

center-align@0.1.3 node_modules/center-align

fast-deep-equal@2.0.1 node_modules/fast-deep-equal

encodeurl@1.0.2 node_modules/encodeurl

forwarded@0.1.2 node_modules/forwarded

has@1.0.3 node_modules/has

latest-version@5.1.0 node_modules/latest-version

lcid@1.0.0 node_modules/lcid

methods@1.1.2 node_modules/methods

merge-descriptors@1.0.1 node_modules/merge-descriptors

inherits@2.0.3 node_modules/inherits

on-headers@1.0.1 node_modules/on-headers

registry-url@5.1.0 node_modules/registry-url

random-bytes@1.0.0 node_modules/random-bytes

unpipe@1.0.0 node_modules/unpipe

which-module@2.0.0 node_modules/which-module

set-blocking@2.0.0 node_modules/set-blocking

yallist@2.1.2 node_modules/yallist

basic-auth@2.0.1 node_modules/basic-auth

bytes@3.0.0 node_modules/bytes

content-disposition@0.5.2 node_modules/content-disposition

caseless@0.12.0 node_modules/caseless

cookie-parser@1.4.4 node_modules/cookie-parser

http-errors@1.6.3 node_modules/http-errors

get-stream@3.0.0 node_modules/get-stream

fresh@0.5.2 node_modules/fresh

accepts@1.3.5 node_modules/accepts

is-typedarray@1.0.0 node_modules/is-typedarray

json-parse-better-errors@1.0.2 node_modules/json-parse-better-errors

etag@1.8.1 node_modules/etag

jstransformer@1.0.0 node_modules/jstransformer

fs.realpath@1.0.0 node_modules/fs.realpath

mime-types@2.1.21 node_modules/mime-types

p-cancelable@1.1.0 node_modules/p-cancelable

path-to-regexp@0.1.7 node_modules/path-to-regexp

on-finished@2.3.0 node_modules/on-finished

parseurl@1.3.2 node_modules/parseurl

proxy-addr@2.0.4 node_modules/proxy-addr

punycode@2.1.1 node_modules/punycode

range-parser@1.2.0 node_modules/range-parser

regenerator-runtime@0.11.1 node_modules/regenerator-runtime

serve-static@1.13.2 node_modules/serve-static

type-is@1.6.16 node_modules/type-is

cookie@0.3.1 node_modules/cookie

uid-safe@2.1.5 node_modules/uid-safe

vary@1.1.2 node_modules/vary

bcrypt-pbkdf@1.0.2 node_modules/bcrypt-pbkdf

is-buffer@1.1.6 node_modules/is-buffer

safe-buffer@5.1.2 node_modules/safe-buffer

ipaddr.js@1.8.0 node_modules/ipaddr.js

@types/babel-types@7.0.6 node_modules/@types/babel-types

pug-walk@1.1.7 node_modules/pug-walk

is-promise@2.1.0 node_modules/is-promise

builtin-modules@1.1.1 node_modules/builtin-modules

getpass@0.1.7 node_modules/getpass

loud-rejection@1.6.0 node_modules/loud-rejection

pug-code-gen@2.0.1 node_modules/pug-code-gen

currently-unhandled@0.4.1 node_modules/currently-unhandled

delayed-stream@1.0.0 node_modules/delayed-stream

aws4@1.8.0 node_modules/aws4

path-parse@1.0.6 node_modules/path-parse

@protobufjs/aspromise@1.1.2 node_modules/@protobufjs/aspromise

@protobufjs/fetch@1.1.0 node_modules/@protobufjs/fetch

@protobufjs/codegen@2.0.4 node_modules/@protobufjs/codegen

deep-extend@0.6.0 node_modules/deep-extend

core-util-is@1.0.2 node_modules/core-util-is

har-validator@5.1.3 node_modules/har-validator

jsprim@1.4.1 node_modules/jsprim

window-size@0.1.4 node_modules/window-size

raw-body@2.3.3 node_modules/raw-body

pseudomap@1.0.2 node_modules/pseudomap

signal-exit@3.0.2 node_modules/signal-exit

statuses@1.5.0 node_modules/statuses

execa@0.7.0 node_modules/execa

@protobufjs/path@1.1.2 node_modules/@protobufjs/path

@protobufjs/eventemitter@1.1.0 node_modules/@protobufjs/eventemitter

@protobufjs/base64@1.1.2 node_modules/@protobufjs/base64

@sindresorhus/is@0.14.0 node_modules/@sindresorhus/is

combined-stream@1.0.7 node_modules/combined-stream

pug-attrs@2.0.3 node_modules/pug-attrs

parse-json@2.2.0 node_modules/parse-json

js-stringify@1.0.2 node_modules/js-stringify

require-main-filename@1.0.1 node_modules/require-main-filename

require-directory@2.1.1 node_modules/require-directory

token-stream@0.0.1 node_modules/token-stream

spdx-expression-parse@3.0.0 node_modules/spdx-expression-parse

uglify-to-browserify@1.0.2 node_modules/uglify-to-browserify

concat-map@0.0.1 node_modules/concat-map

json-buffer@3.0.0 node_modules/json-buffer

graceful-fs@4.1.15 node_modules/graceful-fs

dashdash@1.14.1 node_modules/dashdash

pump@3.0.0 node_modules/pump

@protobufjs/pool@1.1.0 node_modules/@protobufjs/pool

hosted-git-info@2.7.1 node_modules/hosted-git-info

ascli@1.0.1 node_modules/ascli

safer-buffer@2.1.2 node_modules/safer-buffer

verror@1.10.0 node_modules/verror

jsbn@0.1.1 node_modules/jsbn

esutils@2.0.2 node_modules/esutils

which@1.3.1 node_modules/which

doctypes@1.1.0 node_modules/doctypes

is-arrayish@0.2.1 node_modules/is-arrayish

dijkstrajs@1.0.1 node_modules/dijkstrajs

isstream@0.1.2 node_modules/isstream

dotenv@6.2.0 node_modules/dotenv

asap@2.0.6 node_modules/asap

isexe@2.0.0 node_modules/isexe

mime-db@1.37.0 node_modules/mime-db

@protobufjs/utf8@1.1.0 node_modules/@protobufjs/utf8

@protobufjs/float@1.0.2 node_modules/@protobufjs/float

base64url@3.0.1 node_modules/base64url

void-elements@2.0.1 node_modules/void-elements

extsprintf@1.3.0 node_modules/extsprintf

semver@6.0.0 node_modules/semver

json-stringify-safe@5.0.1 node_modules/json-stringify-safe

form-data@2.3.3 node_modules/form-data

json-schema-traverse@0.4.1 node_modules/json-schema-traverse

negotiator@0.6.1 node_modules/negotiator

wordwrap@0.0.2 node_modules/wordwrap

ecc-jsbn@0.1.2 node_modules/ecc-jsbn

asn1@0.2.4 node_modules/asn1

mime@1.4.1 node_modules/mime

depd@1.1.2 node_modules/depd

extend@3.0.2 node_modules/extend

@protobufjs/inquire@1.1.0 node_modules/@protobufjs/inquire

is-regex@1.0.4 node_modules/is-regex

pug-runtime@2.0.4 node_modules/pug-runtime

registry-auth-token@3.4.0 node_modules/registry-auth-token

function-bind@1.1.1 node_modules/function-bind

http-signature@1.2.0 node_modules/http-signature

cross-spawn@5.1.0 node_modules/cross-spawn

babylon@6.18.0 node_modules/babylon

qr-image@3.2.0 node_modules/qr-image

pug-load@2.0.11 node_modules/pug-load

rc@1.2.8 node_modules/rc

colour@0.7.1 node_modules/colour

tweetnacl@0.14.5 node_modules/tweetnacl

constantinople@3.1.2 node_modules/constantinople

crc@3.4.4 node_modules/crc

pug-strip-comments@1.0.3 node_modules/pug-strip-comments

performance-now@2.1.0 node_modules/performance-now

fast-json-stable-stringify@2.0.0 node_modules/fast-json-stable-stringify

decimal.js@10.1.1 node_modules/decimal.js

qs@6.5.2 node_modules/qs

psl@1.1.31 node_modules/psl

request@2.88.0 node_modules/request

hash.js@1.1.7 node_modules/hash.js

minimist@1.2.0 node_modules/minimist

asynckit@0.4.0 node_modules/asynckit

babel-types@6.26.0 node_modules/babel-types

moment-duration-format@2.2.2 node_modules/moment-duration-format

har-schema@2.0.0 node_modules/har-schema

uuid@3.3.2 node_modules/uuid

simple-git@1.110.0 node_modules/simple-git

long@3.2.0 node_modules/long

decamelize-keys@1.1.0 node_modules/decamelize-keys
└── map-obj@1.0.1

yargs-parser@7.0.0 node_modules/yargs-parser
└── camelcase@4.1.0

camelcase-keys@4.2.0 node_modules/camelcase-keys
└── camelcase@4.1.0

yargs@3.32.0 node_modules/yargs

debug@4.1.1 node_modules/debug
└── ms@2.1.1

pngjs@3.3.3 node_modules/pngjs

cacheable-request@6.0.0 node_modules/cacheable-request
└── get-stream@4.1.0

source-map@0.6.1 node_modules/source-map

iconv-lite@0.4.23 node_modules/iconv-lite

meow@5.0.0 node_modules/meow
├── read-pkg-up@3.0.0
├── load-json-file@4.0.0
├── path-type@3.0.0
├── pify@3.0.0
├── camelcase@4.1.0
├── read-pkg@3.0.0
├── parse-json@4.0.0
└── yargs-parser@10.1.0

serve-favicon@2.5.0 node_modules/serve-favicon
├── ms@2.1.1
└── safe-buffer@5.1.1

tough-cookie@2.4.3 node_modules/tough-cookie
└── punycode@1.4.1

json-schema@0.2.3 node_modules/json-schema

package-json@6.3.0 node_modules/package-json
└── semver@5.7.0

normalize-package-data@2.4.0 node_modules/normalize-package-data
└── semver@5.7.0

pug-filters@3.1.0 node_modules/pug-filters

sshpk@1.16.1 node_modules/sshpk

promise@7.3.1 node_modules/promise

got@9.6.0 node_modules/got
└── get-stream@4.1.0

nan@2.13.2 node_modules/nan

morgan@1.9.1 node_modules/morgan
└── debug@2.6.9

finalhandler@1.1.1 node_modules/finalhandler
├── statuses@1.4.0
└── debug@2.6.9

express-session@1.15.6 node_modules/express-session
└── debug@2.6.9

body-parser@1.18.3 node_modules/body-parser
└── debug@2.6.9

send@0.16.2 node_modules/send
├── statuses@1.4.0
└── debug@2.6.9

@types/node@10.14.4 node_modules/@types/node

acorn@3.3.0 node_modules/acorn

express@4.16.4 node_modules/express
├── statuses@1.4.0
└── debug@2.6.9

crypto-js@3.1.9-1 node_modules/crypto-js

uri-js@4.2.2 node_modules/uri-js

resolve@1.10.0 node_modules/resolve

bytebuffer@5.0.1 node_modules/bytebuffer

ajv@6.7.0 node_modules/ajv

clean-css@4.2.1 node_modules/clean-css

uglify-js@2.8.29 node_modules/uglify-js
├── window-size@0.1.0
├── camelcase@1.2.1
├── cliui@2.1.0
├── yargs@3.10.0
└── source-map@0.5.7

acorn-globals@3.1.0 node_modules/acorn-globals
└── acorn@4.0.13

is-expression@3.0.0 node_modules/is-expression
└── acorn@4.0.13

pug-linker@3.0.5 node_modules/pug-linker

pug-parser@5.0.0 node_modules/pug-parser

qrcode@1.2.0 node_modules/qrcode
├── strip-ansi@4.0.0
├── ansi-regex@3.0.0
├── string-width@2.1.1
├── camelcase@4.1.0
├── is-fullwidth-code-point@2.0.0
├── os-locale@2.1.0
└── yargs@8.0.2

pug-lexer@4.0.0 node_modules/pug-lexer

babel-runtime@6.26.0 node_modules/babel-runtime

protobufjs@5.0.3 node_modules/protobufjs
└── glob@7.1.3

moment@2.24.0 node_modules/moment

@grpc/proto-loader@0.5.0 node_modules/@grpc/proto-loader
├── long@4.0.0
└── protobufjs@6.8.8

pug@2.0.3 node_modules/pug

lodash@4.17.11 node_modules/lodash

core-js@2.6.5 node_modules/core-js

grpc@1.19.0 node_modules/grpc
user@Think:~/lnd-admin$ npm start

> lnd-admin@0.10.11 start /home/user/lnd-admin
> node ./bin/www

/home/user/lnd-admin/node_modules/debug/src/node.js:132
        let val = process.env[key];
        ^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/user/lnd-admin/node_modules/debug/src/index.js:9:19)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)

npm ERR! Linux 4.15.0-52-generic
npm ERR! argv "/home/user/.nvm/versions/node/v4.9.1/bin/node" "/home/user/.nvm/versions/node/v4.9.1/bin/npm" "start"
npm ERR! node v4.9.1
npm ERR! npm  v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! lnd-admin@0.10.11 start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the lnd-admin@0.10.11 start script 'node ./bin/www'.
npm ERR! This is most likely a problem with the lnd-admin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./bin/www
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs lnd-admin
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls lnd-admin
npm ERR! There is likely additional logging output above.

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

When trying to follow the instructions to install with npm:

user@Think:~$ npm install -g lnd-admin
npm WARN engine cacheable-request@6.0.0: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine normalize-url@3.3.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine meow@5.0.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine latest-version@5.1.0: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine to-readable-stream@1.0.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine package-json@6.3.0: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine p-cancelable@1.1.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine @szmarczak/http-timer@1.1.2: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine punycode@2.1.1: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine registry-url@5.1.0: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine har-validator@5.1.3: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine dotenv@6.2.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine @grpc/proto-loader@0.5.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine base64url@3.0.1: wanted: {"node":">=6.0.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine @sindresorhus/is@0.14.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine got@9.6.0: wanted: {"node":">=8.6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine get-stream@4.1.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
npm WARN engine get-stream@4.1.0: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
-
> protobufjs@6.8.8 postinstall /home/user/.nvm/versions/node/v4.9.1/lib/node_modules/lnd-admin/node_modules/@grpc/proto-loader/node_modules/protobufjs
> node scripts/postinstall

> grpc@1.19.0 install /home/user/.nvm/versions/node/v4.9.1/lib/node_modules/lnd-admin/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using request for node-pre-gyp https download 
[grpc] Success: "/home/user/.nvm/versions/node/v4.9.1/lib/node_modules/lnd-admin/node_modules/grpc/src/node/extension_binary/node-v46-linux-x64-glibc/grpc_node.node" is installed via remote
/home/user/.nvm/versions/node/v4.9.1/bin/lnd-admin -> /home/user/.nvm/versions/node/v4.9.1/lib/node_modules/lnd-admin/bin/cli.js
lnd-admin@0.10.11 /home/user/.nvm/versions/node/v4.9.1/lib/node_modules/lnd-admin
├── invert-kv@1.0.0
├── isarray@2.0.4
├── minimalistic-assert@1.0.1
├── aws-sign2@0.7.0
├── defer-to-connect@1.0.2
├── can-promise@0.0.1
├── spdx-exceptions@2.2.0
├── arrify@1.0.1
├── array-find-index@1.0.2
├── @types/long@4.0.0
├── decamelize@1.2.0
├── load-json-file@2.0.0
├── ansi-regex@2.1.1
├── is-builtin-module@1.0.0
├── escape-html@1.0.3
├── strip-ansi@3.0.1
├── forever-agent@0.6.1
├── longest@1.0.1
├── strip-eof@1.0.0
├── is-plain-obj@1.1.0
├── lowercase-keys@1.0.1
├── mimic-fn@1.2.0
├── p-finally@1.0.0
├── number-is-nan@1.0.1
├── path-exists@3.0.0
├── path-key@2.0.1
├── locate-path@2.0.0
├── oauth-sign@0.9.0
├── get-caller-file@1.0.3
├── p-try@1.0.0
├── prepend-http@2.0.0
├── pug-error@1.3.2
├── redent@2.0.0
├── read-pkg-up@2.0.0
├── shebang-regex@1.0.0
├── right-align@0.1.3
├── spdx-correct@3.1.0
├── strip-bom@3.0.0
├── spdx-license-ids@3.0.3
├── trim-newlines@2.0.0
├── to-readable-stream@1.0.0
├── to-fast-properties@1.0.3
├── shebang-command@1.2.0
├── tunnel-agent@0.6.0
├── strip-indent@2.0.0
├── untildify@3.0.3
├── url-parse-lax@3.0.0
├── array-flatten@1.1.1
├── decompress-response@3.3.0
├── destroy@1.0.4
├── align-text@0.1.4
├── duplexer3@0.1.4
├── end-of-stream@1.4.1
├── brace-expansion@1.1.11
├── error-ex@1.3.2
├── os-locale@1.4.0
├── ee-first@1.1.1
├── string-width@1.0.2
├── code-point-at@1.1.0
├── clone-response@1.0.2
├── find-up@2.1.0
├── @types/babylon@6.16.5
├── pify@2.3.0
├── path-is-absolute@1.0.1
├── indent-string@3.2.0
├── is-fullwidth-code-point@1.0.0
├── wrap-ansi@2.1.0
├── is-stream@1.1.0
├── lazy-cache@1.0.4
├── kind-of@3.2.2
├── map-obj@2.0.0
├── mimic-response@1.0.1
├── lru-cache@4.1.5
├── minimist-options@3.0.2
├── object-assign@4.1.1
├── ms@2.0.0
├── npm-run-path@2.0.2
├── ini@1.3.5
├── p-limit@1.3.0
├── normalize-url@3.3.0
├── path-type@2.0.0
├── p-locate@2.0.0
├── once@1.4.0
├── inflight@1.0.6
├── camelcase@2.1.1
├── mem@1.1.0
├── quick-lru@1.1.0
├── runes@0.4.3
├── repeat-string@1.6.1
├── validate-npm-package-license@3.0.4
├── window-or-global@1.0.1
├── y18n@3.2.1
├── strip-json-comments@2.0.1
├── wrappy@1.0.2
├── read-pkg@2.0.0
├── lodash.camelcase@4.3.0
├── keyv@3.1.0
├── responselike@1.0.2
├── @szmarczak/http-timer@1.1.2
├── http-cache-semantics@4.0.3
├── minimatch@3.0.4
├── lodash.clone@4.5.0
├── optjs@3.2.2
├── setprototypeof@1.1.0
├── assert-plus@1.0.0
├── cookie-signature@1.0.6
├── with@5.1.1
├── utils-merge@1.0.1
├── balanced-match@1.0.0
├── cliui@3.2.0
├── encodeurl@1.0.2
├── fast-deep-equal@2.0.1
├── center-align@0.1.3
├── content-type@1.0.4
├── forwarded@0.1.2
├── character-parser@2.2.0
├── inherits@2.0.3
├── lcid@1.0.0
├── latest-version@5.1.0
├── merge-descriptors@1.0.1
├── methods@1.1.2
├── has@1.0.3
├── on-headers@1.0.1
├── random-bytes@1.0.0
├── registry-url@5.1.0
├── media-typer@0.3.0
├── set-blocking@2.0.0
├── unpipe@1.0.0
├── yallist@2.1.2
├── which-module@2.0.0
├── accepts@1.3.5
├── cookie-parser@1.4.4
├── content-disposition@0.5.2
├── cookie@0.3.1
├── http-errors@1.6.3
├── basic-auth@2.0.1
├── get-stream@3.0.0
├── etag@1.8.1
├── bytes@3.0.0
├── caseless@0.12.0
├── is-typedarray@1.0.0
├── fs.realpath@1.0.0
├── jstransformer@1.0.0
├── json-parse-better-errors@1.0.2
├── mime-types@2.1.21
├── fresh@0.5.2
├── path-to-regexp@0.1.7
├── on-finished@2.3.0
├── p-cancelable@1.1.0
├── parseurl@1.3.2
├── range-parser@1.2.0
├── proxy-addr@2.0.4
├── serve-static@1.13.2
├── punycode@2.1.1
├── regenerator-runtime@0.11.1
├── type-is@1.6.16
├── uid-safe@2.1.5
├── vary@1.1.2
├── bcrypt-pbkdf@1.0.2
├── is-buffer@1.1.6
├── safe-buffer@5.1.2
├── @types/babel-types@7.0.6
├── ipaddr.js@1.8.0
├── pug-walk@1.1.7
├── is-promise@2.1.0
├── builtin-modules@1.1.1
├── getpass@0.1.7
├── loud-rejection@1.6.0
├── pug-code-gen@2.0.1
├── currently-unhandled@0.4.1
├── delayed-stream@1.0.0
├── @protobufjs/fetch@1.1.0
├── path-parse@1.0.6
├── @protobufjs/aspromise@1.1.2
├── aws4@1.8.0
├── @protobufjs/codegen@2.0.4
├── core-util-is@1.0.2
├── deep-extend@0.6.0
├── jsprim@1.4.1
├── har-validator@5.1.3
├── window-size@0.1.4
├── pseudomap@1.0.2
├── raw-body@2.3.3
├── statuses@1.5.0
├── signal-exit@3.0.2
├── execa@0.7.0
├── @protobufjs/path@1.1.2
├── @protobufjs/eventemitter@1.1.0
├── @protobufjs/base64@1.1.2
├── @sindresorhus/is@0.14.0
├── combined-stream@1.0.7
├── pug-attrs@2.0.3
├── parse-json@2.2.0
├── js-stringify@1.0.2
├── require-main-filename@1.0.1
├── token-stream@0.0.1
├── require-directory@2.1.1
├── spdx-expression-parse@3.0.0
├── uglify-to-browserify@1.0.2
├── concat-map@0.0.1
├── graceful-fs@4.1.15
├── dashdash@1.14.1
├── json-buffer@3.0.0
├── @protobufjs/pool@1.1.0
├── pump@3.0.0
├── ascli@1.0.1
├── hosted-git-info@2.7.1
├── safer-buffer@2.1.2
├── verror@1.10.0
├── jsbn@0.1.1
├── esutils@2.0.2
├── which@1.3.1
├── doctypes@1.1.0
├── is-arrayish@0.2.1
├── dijkstrajs@1.0.1
├── dotenv@6.2.0
├── isstream@0.1.2
├── asap@2.0.6
├── isexe@2.0.0
├── @protobufjs/utf8@1.1.0
├── mime-db@1.37.0
├── @protobufjs/float@1.0.2
├── base64url@3.0.1
├── void-elements@2.0.1
├── extsprintf@1.3.0
├── semver@6.0.0
├── json-stringify-safe@5.0.1
├── json-schema-traverse@0.4.1
├── form-data@2.3.3
├── negotiator@0.6.1
├── wordwrap@0.0.2
├── asn1@0.2.4
├── ecc-jsbn@0.1.2
├── mime@1.4.1
├── depd@1.1.2
├── extend@3.0.2
├── @protobufjs/inquire@1.1.0
├── is-regex@1.0.4
├── pug-runtime@2.0.4
├── registry-auth-token@3.4.0
├── function-bind@1.1.1
├── cross-spawn@5.1.0
├── http-signature@1.2.0
├── babylon@6.18.0
├── qr-image@3.2.0
├── pug-load@2.0.11
├── rc@1.2.8
├── colour@0.7.1
├── tweetnacl@0.14.5
├── constantinople@3.1.2
├── pug-strip-comments@1.0.3
├── crc@3.4.4
├── performance-now@2.1.0
├── fast-json-stable-stringify@2.0.0
├── decimal.js@10.1.1
├── qs@6.5.2
├── psl@1.1.31
├── request@2.88.0
├── hash.js@1.1.7
├── minimist@1.2.0
├── asynckit@0.4.0
├── babel-types@6.26.0
├── moment-duration-format@2.2.2
├── har-schema@2.0.0
├── uuid@3.3.2
├── simple-git@1.110.0
├── decamelize-keys@1.1.0 (map-obj@1.0.1)
├── camelcase-keys@4.2.0 (camelcase@4.1.0)
├── yargs-parser@7.0.0 (camelcase@4.1.0)
├── long@3.2.0
├── debug@4.1.1 (ms@2.1.1)
├── yargs@3.32.0
├── cacheable-request@6.0.0 (get-stream@4.1.0)
├── pngjs@3.3.3
├── source-map@0.6.1
├── meow@5.0.0 (read-pkg-up@3.0.0, load-json-file@4.0.0, parse-json@4.0.0, pify@3.0.0, path-type@3.0.0, camelcase@4.1.0, read-pkg@3.0.0, yargs-parser@10.1.0)
├── iconv-lite@0.4.23
├── serve-favicon@2.5.0 (ms@2.1.1, safe-buffer@5.1.1)
├── tough-cookie@2.4.3 (punycode@1.4.1)
├── json-schema@0.2.3
├── normalize-package-data@2.4.0 (semver@5.7.0)
├── package-json@6.3.0 (semver@5.7.0)
├── pug-filters@3.1.0
├── sshpk@1.16.1
├── promise@7.3.1
├── got@9.6.0 (get-stream@4.1.0)
├── nan@2.13.2
├── send@0.16.2 (statuses@1.4.0, debug@2.6.9)
├── morgan@1.9.1 (debug@2.6.9)
├── finalhandler@1.1.1 (statuses@1.4.0, debug@2.6.9)
├── express-session@1.15.6 (debug@2.6.9)
├── body-parser@1.18.3 (debug@2.6.9)
├── @types/node@10.14.4
├── acorn@3.3.0
├── express@4.16.4 (statuses@1.4.0, debug@2.6.9)
├── crypto-js@3.1.9-1
├── uri-js@4.2.2
├── resolve@1.10.0
├── bytebuffer@5.0.1
├── ajv@6.7.0
├── uglify-js@2.8.29 (window-size@0.1.0, camelcase@1.2.1, cliui@2.1.0, yargs@3.10.0, source-map@0.5.7)
├── clean-css@4.2.1
├── is-expression@3.0.0 (acorn@4.0.13)
├── acorn-globals@3.1.0 (acorn@4.0.13)
├── pug-linker@3.0.5
├── pug-parser@5.0.0
├── qrcode@1.2.0 (ansi-regex@3.0.0, strip-ansi@4.0.0, is-fullwidth-code-point@2.0.0, string-width@2.1.1, os-locale@2.1.0, camelcase@4.1.0, yargs@8.0.2)
├── pug-lexer@4.0.0
├── babel-runtime@6.26.0
├── protobufjs@5.0.3 (glob@7.1.3)
├── @grpc/proto-loader@0.5.0 (long@4.0.0, protobufjs@6.8.8)
├── moment@2.24.0
├── pug@2.0.3
├── lodash@4.17.11
├── core-js@2.6.5
└── grpc@1.19.0
user@Think:~$ lnd-admin
/home/user/.nvm/versions/node/v4.9.1/lib/node_modules/lnd-admin/node_modules/meow/index.js:66
        const {pkg} = options;
              ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/user/.nvm/versions/node/v4.9.1/lib/node_modules/lnd-admin/bin/cli.js:3:14)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
th3geek commented 5 years ago

Looks like I was using an older version of nodejs. Fixed with by installing 8.0.0 with nvm.

Noob mistake. Thanks ;)

janoside commented 5 years ago

No worries...I've struggled with the same thing. Glad you got it sorted out and thanks for the update!