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.

Unable to compile on node v9, which blocks upgrading on Arch Linux

See original GitHub issue

Arch Linux yarn: 1.3.2 node: 9.2.0


Please follow exactly these steps (don’t use repo that you had cloned before):

$ git clone https://github.com/KELiON/cerebro.git cerebro
$ cd cerebro
$ yarn
.....
$ cd app
$ yarn

Expected: both yarn runs succeed. Actual: the second yarn fails.

❯ yarn
yarn install v1.3.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.1: The platform "linux" is incompatible with this module.
info "fsevents@1.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/2] ⠄ ref:    ^~~~~~~~~~
[-/2] ⠄ waiting...
[-/2] ⠄ waiting...
[-/2] ⠄ waiting...
error /home/maximbaz/private/cerebro/app/node_modules/ref: Command failed.
Exit code: 1
..........
..........
..........
make: *** [binding.target.mk:95: Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory '/home/maximbaz/private/cerebro/app/node_modules/ref/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:159:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.13.12-1-ARCH
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/maximbaz/private/cerebro/app/node_modules/ref

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
maximbazcommented, Dec 6, 2017

I have v9.2.0, Arch Linux ships the latest available version of all apps, so every Arch Linux user has node v9.2.0 and it’s not something I can change… Let’s fix Cerebro for node v9 🙂

1reaction
AlanTheKnightcommented, Aug 2, 2020

Hey, any updates?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to compile on node v9, which blocks upgrading on ...
Arch Linux yarn: 1.3.2 node: 9.2.0 Please follow exactly these steps (don't use repo that you had cloned before): $ git clone ...
Read more >
node stopped working / Newbie Corner / Arch Linux Forums
So problem was that pacman upgraded without installing new openssl... It was not my fault! Last edited by ihitmani (2022-11-05 14:49:42).
Read more >
Node.js v19.3.0 Documentation
Enabling the feature; Configuring a package; Upgrading the global ... Linux and Mac: ... A subclass of Error that indicates the failure of...
Read more >
node-gyp | Yarn - Package Manager
js native addon build tool. Build Status npm. node-gyp is a cross-platform command-line tool written in Node.js for compiling native ...
Read more >
NVIDIA CUDA Installation Guide for Linux
The installation instructions for the CUDA Toolkit on Linux. ... Rocky Linux 9.0 ... Otherwise, the CUDA Driver will fail to work with...
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