-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
[BUG report]: Cannot convert undefined or null to object. Node v12.20.0
~ v14
#199
Comments
node
14.17.3 throw error: Cannot convert undefined or null to objectv12.20.0
~ v14
@dayney First of all, thank you very much for pointing out this BUG.
In response to this issue, the following changes were made in #200:
I plan to release v1.11.0 this weekend. npm i -D cz-git@next
|
好的,感谢
Q.Ben Zheng ***@***.***>于2024年11月5日 周二20:20写道:
… @dayney <https://github.com/dayney> First of all, thank you very much for
pointing out this BUG.
1. After investigation, this bug appeared when switching from
node-fetch to node-fetch-cjs #179
<#179>, primarily to address
issues with node v22 error.
2. Testing has shown that node-fetch-cjs has different issues in node
v12, node v14, and node v16.
------------------------------
In response to this issue, the following changes were made in #200
<#200>:
1. Changed node-fetch-cjs to dynamic import to ensure that cz-git and
czg can run in node >= v12.20.
2. Added minimum version requirements for node (>= v16.5) in cases
where node-fetch is needed in AI mode.
------------------------------
I plan to release v1.11.0 this weekend.
I have released a next pre-release version 🌟(*v1.11.0-beta.2*)🌟 for
testing.
Welcome to try it out! 👀 Let me know if there are still any issues. 🎉
npm i -D ***@***.***
—
Reply to this email directly, view it on GitHub
<#199 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJPYVOICA6ZDDO446VZILDZ7CZX5AVCNFSM6AAAAABRF7VQLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXGAZDKNJYGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@dayney |
think you, Now it works.
Q.Ben Zheng ***@***.***> 于2024年11月8日周五 23:00写道:
… @dayney <https://github.com/dayney>
The latest version 🌟(v1.11.0)🌟 released and should be resolve this issue
request , please have a try. 💪
👀 Let me know if there are still any issues. 🎉
—
Reply to this email directly, view it on GitHub
<#199 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJPYVM74LQBUDV4EGBQD4DZ7TGYLAVCNFSM6AAAAABRF7VQLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRUHE3TIMJUGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Discussed in #198
Node: v12.20.0
Originally posted by dayney November 5, 2024
These errors were displayed when I reinstalled:
after, I run the following command to give the prompt is
v1.9.4
- https://github.com/Zhengqbbb/cz-git/blob/main/CHANGELOG.md#194-2024-07-19v1.9.3
first.The text was updated successfully, but these errors were encountered: