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.

Support for node install on arm (raspberry pi)

See original GitHub issue

Do you want to request a feature or report a bug? Request support for node install on arm (raspberry pi)

What is the current behavior? The plugin installs the wrong architecture - Intel 386, should be armv7l:

$ file node/node
node/node: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=c5aeb5fb3808fe29a1ba11d1890f1193b9680d7c, not stripped

Actual architecture:

$ uname -a
Linux raspberrypi14 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux

If the current behavior is a bug, please provide the steps to reproduce. I didn’t call this a bug because I found prior reports of plugin problems on arm/raspberry pi, and it sounded like the problem was arm-pi versions of node were not being published at the time. Not sure if that is still the case (or how to check).

For reference, the error reported by the frontend plugin when trying to execute node looks like:

[ERROR] …workspace/…/webui/node/node: 1: …/workspace/…/webui/node/node: Syntax error: word unexpected (expecting “)”)

Manually trying to execute the version of node installed by the frontend plugin yields:

$ ./node/node -v
-bash: ./node: cannot execute binary file: Exec format error

What is the expected behavior? The correct version/flavor of node would be installed on the raspberry pi.

Please mention your frontend-maven-plugin and operating system version.

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 8.0 (jessie)
Release:	8.0
Codename:	jessie
    <groupId>com.github.eirslett</groupId>
    <artifactId>frontend-maven-plugin</artifactId>
    <version>1.6</version>

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
bhamailcommented, Feb 1, 2021

I pushed a couple PR’s for consideration.

The automatic builds are failing, but I don’t see how my changes could be the cause.

https://github.com/eirslett/frontend-maven-plugin/pull/705 https://github.com/eirslett/frontend-maven-plugin/pull/706

0reactions
Regzy-95commented, Feb 1, 2021

No I haven’t, I’ll check it out. I managed to extract the tar.gz UGS file onto the raspberry Pi 3 B model. I ran the usg platform shell script file located in the bin folder and that worked. Just need to get it to execute on startup now. Ive seen some information on it in a few other threads

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing NodeJS on the Raspberry Pi - Pi My Life Up
This tutorial will show you how to install NodeJS to the Raspberry Pi. This runtime allows you to run JavaScript without a web...
Read more >
Install Nodejs and NPM on Raspberry Pi [Step-by-Step]
Install Nodejs and NPM on Raspberry Pi [Step-by-Step] · Step 1: Enable the NodeSource Repository · Step 2: Install NodeJS · Step 3:...
Read more >
Install Node.js and Npm on Raspberry Pi : 5 Steps - Instructables
1. The processor on Raspberry Pi is ARM, but depends on the model there can be ARMv6, ARMv7 or ARMv8. This 3 versions...
Read more >
Beginner's Guide to Installing Node.js on a Raspberry Pi
This tutorial is useful for anyone wishing to successfully install a Raspberry Pi 4/Pi 3/Pi 2 system, even if they are not interested...
Read more >
Install Node.js on Raspberry Pi 4 - Linux Hint
In this article, I am going to show you how to install the latest LTS (Long Term Support) version of Node.js on Raspberry...
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