typicode/hotel

Handle permissions issues in ~/.hotel

Open

#178 opened on Mar 1, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (474 forks)batch import
PR welcomehelp wanted

Repository metrics

Stars
 (9,939 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

  1. Handle ENOSPC and EACCES in src/daemon/index.js
  2. If not on Windows, show a message suggesting to try sudo chown -R $USER: $HOME/.hotel
  3. Log error message and stacktrace
  4. process.exit(1)

See https://github.com/typicode/hotel/issues/147

Contributor guide