[GH-ISSUE #175] Fail in load home at linux #143

Closed
opened 2026-02-26 05:31:26 +03:00 by kerem · 1 comment
Owner

Originally created by @next-josemanuelrincon on GitHub (Mar 15, 2016).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/175

When launch log.io-harvester with other non root user or supervisor, dont load correctly home

I have changed this in bin/log.io-harvester

+osenv=require('osenv')
-homeDir = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'];
+homeDir=osenv.home()

This changes, fixed the problem above

Originally created by @next-josemanuelrincon on GitHub (Mar 15, 2016). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/175 When launch log.io-harvester with other non root user or supervisor, dont load correctly home I have changed this in bin/log.io-harvester +osenv=require('osenv') -homeDir = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME']; +homeDir=osenv.home() This changes, fixed the problem above
kerem closed this issue 2026-02-26 05:31:26 +03:00
Author
Owner

@msmathers commented on GitHub (Jan 12, 2020):

v0.4.3 no longer requires root/sudo to install, so that should address this issue.

<!-- gh-comment-id:573445072 --> @msmathers commented on GitHub (Jan 12, 2020): v0.4.3 no longer requires root/sudo to install, so that should address this issue.
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/log.io-NarrativeScience-old#143
No description provided.