-
Notifications
You must be signed in to change notification settings - Fork 199
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
TypeError: The "code" argument must be of type number. Received an instance of Object #598
Comments
Yeah, see #495. It's related to Cli#runExit and this:
It seems the build command is yielding an object instead of an exit code |
Thank you for your quick reply. So its basically related to Node. Meanwhile, i am able to build normally on Node 20.9.0 but with the error shown above. |
Hi, I also have the same error, but the compilation goes fine. |
Hi, having same issue
|
I Just executed using Sudo (Administrator permissions) and it just worked! 🚀 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
oh no, not stale 😞 |
i have this issue too |
Downgrade to node v18.20 worked for me! Issue is gone.. I'll be still tracking that to get the fix for Node v20! |
I am getting this error with
npx contentlayer build
Anyone else?
The text was updated successfully, but these errors were encountered: