Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM Install -- Fails #185

Open
Luke-JCSC opened this issue Feb 12, 2019 · 5 comments
Open

NPM Install -- Fails #185

Luke-JCSC opened this issue Feb 12, 2019 · 5 comments

Comments

@Luke-JCSC
Copy link

  • on linux mint 18 -- Tried numerous things it keeps failing.

32651 silly saveTree │ └── [email protected]
32651 silly saveTree └── [email protected]
32652 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
32653 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
32654 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
32654 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
32654 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux
32654 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
32655 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/sse4_crc32):
32656 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
32656 warn optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
32657 verbose optional SKIPPING OPTIONAL DEPENDENCY:
32657 verbose optional Failed at the [email protected] install script.
32657 verbose optional SKIPPING OPTIONAL DEPENDENCY: This is probably not a problem with npm. There is likely additional logging output above.
32658 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/ursa):
32659 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
32659 warn optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
32660 verbose optional SKIPPING OPTIONAL DEPENDENCY:
32660 verbose optional Failed at the [email protected] install script.
32660 verbose optional SKIPPING OPTIONAL DEPENDENCY: This is probably not a problem with npm. There is likely additional logging output above.
32661 verbose stack Error: [email protected] install: node-pre-gyp install --fallback-to-build --library=static_library
32661 verbose stack Exit status 1
32661 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
32661 verbose stack at EventEmitter.emit (events.js:197:13)
32661 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
32661 verbose stack at ChildProcess.emit (events.js:197:13)
32661 verbose stack at maybeClose (internal/child_process.js:978:16)
32661 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
32662 verbose pkgid [email protected]
32663 verbose cwd /home/gabe/gocode/src/github.com/lightningnetwork/lncli-web
32664 verbose Linux 4.4.0-142-generic
32665 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
32666 verbose node v11.9.0
32667 verbose npm v6.5.0
32668 error code ELIFECYCLE
32669 error errno 1
32670 error [email protected] install: node-pre-gyp install --fallback-to-build --library=static_library
32670 error Exit status 1
32671 error Failed at the [email protected] install script.
32671 error This is probably not a problem with npm. There is likely additional logging output above.
32672 verbose exit [ 1, true ]

@Luke-JCSC
Copy link
Author

2019-02-12T02_58_48_615Z-debug.log
2019-02-11T01_56_43_038Z-debug.log

Any help would be appreciated.

@enorrmann
Copy link
Contributor

try by updating packages.json
"grpc": "^1.13.0",
to
"grpc": "^1.18.0",
.. this lib seems a bit outdated @mably ?

@mably
Copy link
Owner

mably commented Feb 15, 2019

Have you tested that grpc version? I can update it if it works fine. Will give it a try when I have some time.

@enorrmann
Copy link
Contributor

My envirinment is as follows
Ubuntu 18.10
node -v
v8.15.0 (from nodejs.org)
uname -a
Linux 4.18.0-15-generic x86_64

these are the steps I followed to get it working

  1. git clone https://github.com/mably/lncli-web.git
  2. cd lncli-web
  3. npm install grpc
  4. npm install electron
  5. npm install
  6. init.sh

steps 3 and 4 updated the to grpc 1.8 and electron 1.8.8.. and that did the trick for me

@mably
Copy link
Owner

mably commented Feb 15, 2019

Updated package.json to grpc 1.18.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants