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.

doesn't seem to compile on raspberrypi

See original GitHub issue

I have this error when installing thumbsup on my RPI: It is regular raspian stretch and npm using nvm

$ npm  install -g thumbsup
/home/pi/.nvm/versions/node/v9.5.0/bin/thumbsup -> /home/pi/.nvm/versions/node/v9.5.0/lib/node_modules/thumbsup/bin/thumbsup.js

> integer@1.0.3 install /home/pi/.nvm/versions/node/v9.5.0/lib/node_modules/thumbsup/node_modules/integer
> node tools/install

make: Entering directory '/home/pi/.nvm/versions/node/v9.5.0/lib/node_modules/thumbsup/node_modules/integer/build'
  CXX(target) Release/obj.target/integer/src/integer.o
  SOLINK_MODULE(target) Release/obj.target/integer.node
  COPY Release/integer.node
make: Leaving directory '/home/pi/.nvm/versions/node/v9.5.0/lib/node_modules/thumbsup/node_modules/integer/build'

> better-sqlite3@4.1.0 install /home/pi/.nvm/versions/node/v9.5.0/lib/node_modules/thumbsup/node_modules/better-sqlite3
> node deps/install

==> cwd: /home/pi/.nvm/versions/node/v9.5.0/lib/node_modules/thumbsup/node_modules/better-sqlite3
==> /home/pi/.nvm/versions/node/v9.5.0/lib/node_modules/thumbsup/node_modules/lzz-gyp/lzz-compiled/linux -hx hpp -sx cpp -k BETTER_SQLITE3 -d -hl -sl -e ./src/better_sqlite3.lzz
/bin/sh: 1: /home/pi/.nvm/versions/node/v9.5.0/lib/node_modules/thumbsup/node_modules/lzz-gyp/lzz-compiled/linux: Exec format error
Error: exit code 2
    at ChildProcess.<anonymous> (/home/pi/.nvm/versions/node/v9.5.0/lib/node_modules/thumbsup/node_modules/lzz-gyp/lib/exec.js:19:12)
    at ChildProcess.emit (events.js:160:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! better-sqlite3@4.1.0 install: `node deps/install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the better-sqlite3@4.1.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Crusher00commented, Apr 25, 2018

I only had the problems while installing thumbsup via non. So I did this for installation: “LZZ_COMPAT=1 npm install -g thumbsup” and afterwords I ran thumbsup as normal as stated in the documentation without the need for lzzCompat.

0reactions
rprietocommented, Apr 25, 2018

Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

C code compiles, but will not run - Raspberry Pi Forums
Hi, Yes, I am able to compile and run all kinds of programs that do not include wiringpi, or other libraries, other than...
Read more >
Cross-Compiler and Buildroot · Issue #34 - GitHub
Hi,. I am trying to use your cross-compiler along with buildroot. My host is an Ubuntu 16.04 and the target is Raspberry PI...
Read more >
Raspberry Pi – Compiling a Module for the 64-bit Kernel
The first hurdle was that the raspbian repository doesn't have a cross-compiler for 64-bit ARM (aarch64) or headers for the 64-bit kernel.
Read more >
Compiling R on a Raspberry Pi 4 - PSYCTC.org
I have recently spent a (very small) amount of money to have a Raspberry Pi 4 to play with to see if I...
Read more >
Raspberry Pi 3B+ compile attempt appears to hang - Page 2
I'm attempting to compile FC master on RPI4 with RPIOS Bullseye, with some success but there is an issue with Draft workbench. I...
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