[GH-ISSUE #105] install problems on raspberry PI #77

Closed
opened 2026-03-03 16:04:14 +03:00 by kerem · 16 comments
Owner

Originally created by @yveshanoulle on GitHub (Dec 26, 2017).
Original GitHub issue: https://github.com/mthenw/frontail/issues/105

I'm trying to install frontail on a raspberry PI model 3 with raspbian lite
it did not have NPM installed.
so I installed nodejs (9)

 curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs

that worked fine
I ran NPM after that and it told me how to use it (normal behavior)
then I ran sudo npm i frontail -g

that did not work: this is what I got

pi@frontail:~ $ sudo npm i frontail -g
npm WARN deprecated connect@2.11.0: connect 2.x series is deprecated
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master git://github.com/zipang/daemon.node.git /root/.npm/_cacache/tmp/git-clone-26f673d4
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-26f673d4': Toegang geweigerd
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2017-12-26T01_12_48_185Z-debug.log
pi@frontail:~ $ 

I can't cd to /root/npm/ as I don't have access, I guess that is part of the problem.
Any idea what I did wrong?

Originally created by @yveshanoulle on GitHub (Dec 26, 2017). Original GitHub issue: https://github.com/mthenw/frontail/issues/105 I'm trying to install frontail on a raspberry PI model 3 with raspbian lite it did not have NPM installed. so I installed nodejs (9) ``` curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - sudo apt-get install -y nodejs ``` that worked fine I ran NPM after that and it told me how to use it (normal behavior) then I ran `sudo npm i frontail -g` that did not work: this is what I got ``` pi@frontail:~ $ sudo npm i frontail -g npm WARN deprecated connect@2.11.0: connect 2.x series is deprecated npm ERR! code 128 npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master git://github.com/zipang/daemon.node.git /root/.npm/_cacache/tmp/git-clone-26f673d4 npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-26f673d4': Toegang geweigerd npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2017-12-26T01_12_48_185Z-debug.log pi@frontail:~ $ ``` I can't cd to /root/npm/ as I don't have access, I guess that is part of the problem. Any idea what I did wrong?
kerem closed this issue 2026-03-03 16:04:14 +03:00
Author
Owner

@mthenw commented on GitHub (Jan 2, 2018):

Hmm, can you try installing without sudo: npm i frontail -g?

<!-- gh-comment-id:354759945 --> @mthenw commented on GitHub (Jan 2, 2018): Hmm, can you try installing without sudo: `npm i frontail -g`?
Author
Owner

@yveshanoulle commented on GitHub (Jan 2, 2018):

pi@frontail:~ $ npm i frontail -g
npm WARN deprecated connect@2.11.0: connect 2.x series is deprecated
npm WARN checkPermissions Missing write access to /usr/lib/node_modules
npm ERR! path /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR! { Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR! stack: 'Error: EACCES: permission denied, access '/usr/lib/node_modules'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-01-02T14_14_18_516Z-debug.log

<!-- gh-comment-id:354774672 --> @yveshanoulle commented on GitHub (Jan 2, 2018): pi@frontail:~ $ npm i frontail -g npm WARN deprecated connect@2.11.0: connect 2.x series is deprecated npm WARN checkPermissions Missing write access to /usr/lib/node_modules npm ERR! path /usr/lib/node_modules npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules' npm ERR! { Error: EACCES: permission denied, access '/usr/lib/node_modules' npm ERR! stack: 'Error: EACCES: permission denied, access \'/usr/lib/node_modules\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/lib/node_modules' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2018-01-02T14_14_18_516Z-debug.log
Author
Owner

@yveshanoulle commented on GitHub (Jan 2, 2018):

I also did
sudo npm i -g npm
(to update npm)
I got:
/usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
/usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js

  • npm@5.6.0
    added 27 packages, removed 11 packages and updated 37 packages in 36.109s

yet same result when I do sudo npm i frontail -g

<!-- gh-comment-id:354776673 --> @yveshanoulle commented on GitHub (Jan 2, 2018): I also did sudo npm i -g npm (to update npm) I got: /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js + npm@5.6.0 added 27 packages, removed 11 packages and updated 37 packages in 36.109s yet same result when I do sudo npm i frontail -g
Author
Owner

@mthenw commented on GitHub (Jan 3, 2018):

Well, hard to say, it's definitely related to filesystem/user permissions & npm. I don't know an answer for that.

I'm planning to publish frontail as a binary file (no need to install it with npm/node) so it will be easier to install it on different OSes/arch. I will do that today so stay tuned :) Hopefully, it should solve your problem.

<!-- gh-comment-id:354973295 --> @mthenw commented on GitHub (Jan 3, 2018): Well, hard to say, it's definitely related to filesystem/user permissions & npm. I don't know an answer for that. I'm planning to publish frontail as a binary file (no need to install it with npm/node) so it will be easier to install it on different OSes/arch. I will do that today so stay tuned :) Hopefully, it should solve your problem.
Author
Owner

@yveshanoulle commented on GitHub (Jan 3, 2018):

great will try the stand alone when ready

<!-- gh-comment-id:355075664 --> @yveshanoulle commented on GitHub (Jan 3, 2018): great will try the stand alone when ready
Author
Owner

@mthenw commented on GitHub (Jan 3, 2018):

You can download the binary from here https://github.com/mthenw/frontail/releases/tag/v4.1.0

<!-- gh-comment-id:355106868 --> @mthenw commented on GitHub (Jan 3, 2018): You can download the binary from here https://github.com/mthenw/frontail/releases/tag/v4.1.0
Author
Owner

@mthenw commented on GitHub (Jan 3, 2018):

Closing for now. Please let me know if you still have this issue.

<!-- gh-comment-id:355149637 --> @mthenw commented on GitHub (Jan 3, 2018): Closing for now. Please let me know if you still have this issue.
Author
Owner

@yveshanoulle commented on GitHub (Jan 4, 2018):

a little more info is needed. The file to download has no extension.
it's for me totally not clear what format it is.
I assume I need the linux file,yet it's unclear how to unpack it.

<!-- gh-comment-id:355425478 --> @yveshanoulle commented on GitHub (Jan 4, 2018): a little more info is needed. The file to download has no extension. it's for me totally not clear what format it is. I assume I need the linux file,yet it's unclear how to unpack it.
Author
Owner

@mthenw commented on GitHub (Jan 5, 2018):

it's a binary file. No extension needed. just run chmod +x frontail-linux and then ./frontail-linux

<!-- gh-comment-id:355493244 --> @mthenw commented on GitHub (Jan 5, 2018): it's a binary file. No extension needed. just run `chmod +x frontail-linux` and then `./frontail-linux`
Author
Owner

@yveshanoulle commented on GitHub (Jan 5, 2018):

pi@frontail:/usr/share/frontail $ ./frontail-linux
-bash: ./frontail-linux: kan binair bestand Verkeerd uitvoerbaar bestand niet uitvoeren
pi@frontail:/usr/share/frontail $

kan binair bestand Verkeerd uitvoerbaar bestand niet uitvoeren
can binair file wrong binair file not execute.
:-(
(raspbian lite on raspberry PI3B)

<!-- gh-comment-id:355525145 --> @yveshanoulle commented on GitHub (Jan 5, 2018): pi@frontail:/usr/share/frontail $ ./frontail-linux -bash: ./frontail-linux: kan binair bestand Verkeerd uitvoerbaar bestand niet uitvoeren pi@frontail:/usr/share/frontail $ >kan binair bestand Verkeerd uitvoerbaar bestand niet uitvoeren can binair file wrong binair file not execute. :-( (raspbian lite on raspberry PI3B)
Author
Owner

@mthenw commented on GitHub (Jan 9, 2018):

@yveshanoulle is rpi3 64bit architecture?

<!-- gh-comment-id:356210371 --> @mthenw commented on GitHub (Jan 9, 2018): @yveshanoulle is rpi3 64bit architecture?
Author
Owner

@yveshanoulle commented on GitHub (Jan 9, 2018):

According to https://en.wikipedia.org/wiki/Raspberry_Pi it is 64 bit. is that a problem?

<!-- gh-comment-id:356311171 --> @yveshanoulle commented on GitHub (Jan 9, 2018): According to https://en.wikipedia.org/wiki/Raspberry_Pi it is 64 bit. is that a problem?
Author
Owner

@mthenw commented on GitHub (Jan 18, 2018):

Hmm, looks like the tool that I wanted to use to package frontail into binary doens't support ARM. Do you still have this issue with permissions?

<!-- gh-comment-id:358764750 --> @mthenw commented on GitHub (Jan 18, 2018): Hmm, looks like the tool that I wanted to use to package frontail into binary doens't support ARM. Do you still have this issue with permissions?
Author
Owner

@yveshanoulle commented on GitHub (Jan 18, 2018):

yes. I never got it to work :-(

2018-01-18 21:01 GMT+01:00 Maciej Winnicki notifications@github.com:

Hmm, looks like the tool that I wanted to use to package frontail into
binary doens't support ARM. Do you still have this issue with permissions?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mthenw/frontail/issues/105#issuecomment-358764750,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAiY3u1SwqCcuKBjSO2vHhYY8XpRZLhLks5tL6MugaJpZM4RMvGU
.

--

--
Yves Hanoulle
Current community projects that need YOUR help:

<!-- gh-comment-id:358775528 --> @yveshanoulle commented on GitHub (Jan 18, 2018): yes. I never got it to work :-( 2018-01-18 21:01 GMT+01:00 Maciej Winnicki <notifications@github.com>: > Hmm, looks like the tool that I wanted to use to package frontail into > binary doens't support ARM. Do you still have this issue with permissions? > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/mthenw/frontail/issues/105#issuecomment-358764750>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AAiY3u1SwqCcuKBjSO2vHhYY8XpRZLhLks5tL6MugaJpZM4RMvGU> > . > -- -- Yves Hanoulle *Current community projects that need YOUR help:* - Community Tips for hiring a great team: http://www.hanoulle.be/hiring - Community Tips for Coaches: http://www.hanoulle.be/2015/06/community-tips-for-coaching/ - Scrummaster and agile coaches survey: http://www.hanoulle.be/2015/05/salarysurvey/ <http://www.hanoulle.be/2015/05/salarysurvey/> - Who is agile "your country version" >> mail me - CoachRetreat in your country >> mail me
Author
Owner

@yveshanoulle commented on GitHub (Mar 4, 2018):

I was waiting on another solution, I missed that this is now closed.
Is there not another way to package this for ARM?

<!-- gh-comment-id:370266137 --> @yveshanoulle commented on GitHub (Mar 4, 2018): I was waiting on another solution, I missed that this is now closed. Is there not another way to package this for ARM?
Author
Owner

@yveshanoulle commented on GitHub (Mar 4, 2018):

I have fixed my install problem

I removed everything from node / Npm
and then
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
apt-get install nodejssudo npm i frontail -g

<!-- gh-comment-id:370273030 --> @yveshanoulle commented on GitHub (Mar 4, 2018): I have fixed my install problem I removed everything from node / Npm and then curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - apt-get install nodejssudo npm i frontail -g
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#77
No description provided.