-
-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERR_INVALID_ARG_TYPE on macOS 10.15 node v14.1.0 #360
Comments
aklkv
changed the title
ERR_INVALID_ARG_TYPE on macOS 10.15 nodev14.1.0
ERR_INVALID_ARG_TYPE on macOS 10.15 node v14.1.0
May 5, 2020
Hi @aklkv A quick fix is to change the 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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: