Open aklkv opened 4 years ago
Hi @aklkv
I also have this same issue here and I found out that the validation on fs.writeFileSync changed to not allow numbers
to be passed in.
A quick fix is to change the pid-file.js
:
function create() {
console.log('create', pidFile, process.pid)
- return fs.writeFileSync(pidFile, process.pid)
+ return fs.writeFileSync(pidFile, process.pid.toString())
}
I created the PR #361 to fix it.
@alanlima Thank you so much for solution! I can confirm it fixes the issue for me!
Guess, there is only the way to patch this file locally, since no release since 2018. Thanks for the fix.
Hey @alanlima @typicode,
This is 100% the solution to get hotel
working on Mac OS 10.15 with node v14.9.0
Any chance we could get #361 merged? (As @alexrjs suggests, the only other way is to patch pid-file.js
locally.)
Thanks!