mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-26 01:25:55 +03:00
[GH-ISSUE #190] Errors installing on Raspberry Pi #159
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/log.io-NarrativeScience-old#159
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 @scargill on GitHub (Apr 24, 2017).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/190
Raspberry Pi - latest version, up to date - has Node-Red etc all up to date. Tried to install and..
Last login: Thu Apr 20 10:34:42 2017 from 192.168.1.32
pi@myboard:~ $ sudo npm install -g log.io --user "pi"
npm WARN deprecated jquery@1.8.3: Versions of the jquery npm package older than 1.9.0 are patched versions that don't work in web browsers. Please upgrade to >=1.11.0.
/usr/bin/log.io-server -> /usr/lib/node_modules/log.io/bin/log.io-server
/usr/bin/log.io-harvester -> /usr/lib/node_modules/log.io/bin/log.io-harvester
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/log.io/node_modules/contextify/.node-gyp"
make: Entering directory '/usr/lib/node_modules/log.io/node_modules/contextify/build'
CXX(target) Release/obj.target/contextify/src/contextify.o
../src/contextify.cc: In static member function ‘static v8::Localv8::Context ContextWrap::createV8Context(v8::Localv8::Object)’:
../src/contextify.cc:131:68: warning: ‘v8::Localv8::Object v8::Function::NewInstance() const’ is deprecated (declared at /usr/lib/node_modules/log.io/node_modules/contextify/.node-gyp/6.10.2/include/node/v8.h:3275): Use maybe version [-Wdeprecated-declarations]
Local
@lasrie commented on GitHub (Feb 2, 2018):
Hi,
I had similar problems, which I managed to solve, came across your thread and wanted to help the next person coming.
Your error
Error: EACCES: permission denied, mkdir '/root/.log.io/'seems to indicate permissioning problems, what fixed that for me was installing node using the nvm(see: https://github.com/creationix/nvm/blob/master/README.md#install-script)
log.io seems to not be maintained very well and was not working with the current node version for me. When I used node version 6 it was working for me;
Hope you get it running for yourself :)
@msmathers commented on GitHub (Jan 12, 2020):
v0.4.3 uses "bin" scripts in
package.jsonto run the process as the current user, and uses the current user's home directory for configuration. Hopefully that will resolve this specific issue.