-
Notifications
You must be signed in to change notification settings - Fork 38
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
Still having : throw new Error('Cyclic dependency: '+JSON.stringify(node)) #25
Comments
Hey :) Are you reporting this to this repo because of the "circular structure" JSON.stringify error? If not, then this looks like a normal error due to wrong use of toposort. Toposort throws an error if you try to sort circular data. |
@marcelklehr yes i'm talking about the ""circular structure" JSON.stringify error". I'm not the one using toposort here, it seems to be a dep of webpack 4 and when the dep is >= 1.0.7 I have this error, when I force toposort to 1.0.6 or under it works |
this works without an error, but any time I upgrade something I get this lock with the error mentioned in the console
|
oh. Interesting! |
However, the exact error you describe cannot happen with v1.0.7 anymore, because line 21 has been changed v1.0.4...v1.0.7 This diff also shows the difference between version 1.0.4 and v1.0.7 which is one test and said change around line 21. I highly doubt that there's an input that throws an error in v1.0.7 but doesn't in v1.0.4, but if you like you can create a gist or a repo that I can use to reproduce and debug. |
I'll try to get the bug on a repo, but I think if the problem is a cyclic
dependency it should output the files concerned, whereas, here it doesn't
so it's quite hard to figure out what's wrong.
More again since it's a dep used by webpack and not directly my project.
Le sam. 16 juin 2018 à 20:31, Marcel Klehr <notifications@github.com> a
écrit :
… However, the exact error you describe *cannot* happen with v1.0.7
anymore, because line 21 has been changed v1.0.4...v1.0.7
<v1.0.4...v1.0.7>
This diff also shows the difference between version 1.0.4 and v1.0.7 which
is one test and said change around line 21. I highly doubt that there's an
input that throws an error in v1.0.7 but doesn't in v1.0.4, but if you like
you can create a gist or a repo that I can use to reproduce and debug.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABXDtUcYSOG-n_Va3ElqjcdhuGr1SXdIks5t9U8KgaJpZM4UqXWS>
.
|
Good morning, everybody. This happened on 1.0.4 and 1.0.6. Hope this helps. |
Hey Alexander,
I encourage you to try v1.0.7 which was released in April mitigate this problem ;)
|
Hey @marcelklehr , |
I just upgraded to the new Vue CLI which internally uses new Webpack 4 which uses toposort, as soon as I upgraded, this happend.
The text was updated successfully, but these errors were encountered: