-
Notifications
You must be signed in to change notification settings - Fork 3k
"circular structure" error with v3.7.0 #11349
Comments
I get the same when trying to install the module
|
Might be caused by 1d1ea7e |
It almost certainly is, @4kochi. Probably best to revert to |
Yeah, I know. Will switch back to 3.6.0 for now. |
If a package is just json why is there a circular reference? Is the package object getting modified somehow or is the |
That's very odd, there shouldn't be circular references. I think that's the real bug here, but we should do some investigation. |
Circular references are quite common, because many of the objects being cloned by that function have been run through The short-term fix is to revert 1d1ea7e – the architectural work necessary to make it safe to use
will reliably crash for me. |
A correction would be something like |
Nice! I was thinking if the properties that contain circular references are known the clone could temporarily |
I have the following error:
Converting circular structure to JSON
with npm v3.7.0 (node 5.5.0). I think I get the idea behind the "circular structure" message, but when there are a lot of dependencies in a project I wonder how it is possible to avoid that error. To me it seems impossible to check manually the dependencies of dependencies of my project.You can see here on travis that previous npm versions work well. The project is there https://github.com/benoitvallon/react-native-nw-react-calculator
npm-debug.log.zip
Since v3.3.10 I had this issue #10985 and I had to run
npm install
2 times but now that's an other error.The text was updated successfully, but these errors were encountered: