mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-26 02:05:57 +03:00
[GH-ISSUE #105] install problems on raspberry PI #77
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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)
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 -gthat did not work: this is what I got
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?
@mthenw commented on GitHub (Jan 2, 2018):
Hmm, can you try installing without sudo:
npm i frontail -g?@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
@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
added 27 packages, removed 11 packages and updated 37 packages in 36.109s
yet same result when I do sudo npm i frontail -g
@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.
@yveshanoulle commented on GitHub (Jan 3, 2018):
great will try the stand alone when ready
@mthenw commented on GitHub (Jan 3, 2018):
You can download the binary from here https://github.com/mthenw/frontail/releases/tag/v4.1.0
@mthenw commented on GitHub (Jan 3, 2018):
Closing for now. Please let me know if you still have this issue.
@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.
@mthenw commented on GitHub (Jan 5, 2018):
it's a binary file. No extension needed. just run
chmod +x frontail-linuxand then./frontail-linux@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 $
@mthenw commented on GitHub (Jan 9, 2018):
@yveshanoulle is rpi3 64bit architecture?
@yveshanoulle commented on GitHub (Jan 9, 2018):
According to https://en.wikipedia.org/wiki/Raspberry_Pi it is 64 bit. is that a problem?
@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?
@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:
--
--
Yves Hanoulle
Current community projects that need YOUR help:
http://www.hanoulle.be/2015/06/community-tips-for-coaching/
http://www.hanoulle.be/2015/05/salarysurvey/
http://www.hanoulle.be/2015/05/salarysurvey/
@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?
@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