0 comments (0 comments)0 reactions (0 reactions)0 assignees (0 assignees)JavaScript474 forks (474 forks)batch import
PR welcomehelp wanted
Repository metrics
- Stars
- 9,939 stars (9,939 stars)
- PR merge metrics
- No merged PRs in 30d (No merged PRs in 30d)
Description
- Handle
ENOSPC and EACCES in src/daemon/index.js
- If not on Windows, show a message suggesting to try
sudo chown -R $USER: $HOME/.hotel
- Log error message and stacktrace
process.exit(1)
See https://github.com/typicode/hotel/issues/147
Contributor guide
- Research direction
- In src/daemon/index.js, add error handling for ENOSPC and EACCES errors. Check if the platform is not Windows, then log a message suggesting `sudo chown R $USER: $HOME/.hotel`. Log the error message and stack trace, then call process.exit(1).
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Prerequisites
- Node.jsGit