frontail: install problems on raspberry PI
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?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (7 by maintainers)
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
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.