question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation with Node 12 fails

See original GitHub issue

Hi, Installation via npm install -g decktape did NOT work on my side. I am getting following build error:

node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/12.3.1/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/decktape/node_modules/hummus/binding/hummus.node --module_name=hummus --module_path=/usr/local/lib/node_modules/decktape/node_modules/hummus/binding --napi_version=4 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/decktape/node_modules/hummus/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:200:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
node-pre-gyp ERR! System Darwin 18.6.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/12.3.1/bin/node" "/usr/local/lib/node_modules/decktape/node_modules/hummus/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/local/lib/node_modules/decktape/node_modules/hummus
node-pre-gyp ERR! node -v v12.3.1
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
node-pre-gyp ERR! not ok

Is my Node version too recent? Attaching the whole build log:

2019-05-29T05_05_16_677Z-debug.log

Kindest regards. Thanks and cheers,

christian

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
astefanutticommented, May 30, 2019

Thanks for the quick feedback. I’ve just released version 2.9.3.

1reaction
ribeaudcommented, May 30, 2019

OK, I made the installation following your instructions. And I did a test with:

decktape remark https://ribeaud.github.io/WebEngineering/lectures/11 11.pdf

It worked like a charm… 😏

Thanks a lot and have a beautiful day. Best regards,

christian

Read more comments on GitHub >

github_iconTop Results From Across the Web

nvm install node fails to install on macOS Big Sur M1 Chip
I'm trying to install the latest version of node using nvm. I've just got the newly released SIlicon Macbook Pro with the M1...
Read more >
nvm install node fails to install on macOS Big Sur M1 Chip
I installed via the nvm install script and ran into the same error -- and the steps by @adityaatri to run Terminal or...
Read more >
Installing a custom version of NVM and Node.js
Overview This article walks you through installing Node.js using Node Version Manager ... DreamHost support is unable to assist with custom installations.
Read more >
Node Version Manager – nvm Install Guide - freeCodeCamp
In this article, I'll explain how you can install NVM, or Node Version Manager, on Windows, Linux, and Mac.
Read more >
Set up Node.js on WSL 2 - Windows - Microsoft Learn
Install Node.js on Windows Subsystem for Linux (WSL2). Article; 09/12/2022; 9 minutes to read; 8 contributors. Feedback ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found