-
Notifications
You must be signed in to change notification settings - Fork 129
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
V*:internal Error while cloning an axios object #115
Comments
Probably, you mean this error (coming from V8 engine): |
+1 I would say it is necessary to remove socket connections from the object. It happens with MongoDB connection as well. |
I've opened a related issue nodejs/node#37369 The bug is triggered on Line 165 in 6df949a
child[i] = , which attempts to set the 'onread' attribute of the node socket, crashing.
Although the crash is a bug in node, it still could be a bug the fact that it was triggered. At Line 121 in 6df949a
Line 124 in 6df949a
|
@aliclark any fix or temporary hack of this? |
Hi @girishghoda, I believe you just need to remove reference to the node socket from the source object before you perform clone - attempting to clone an internal property of the socket is what causes a crash. |
New native feature: |
Axios produces a very large/complex object of the Request.
When I was trying clone this object, I got
v8:internal errror
.The text was updated successfully, but these errors were encountered: