Closed ckemmler closed 1 year ago
In lieu of suggestions from others is there a minimal repro you can provide?
Sure, although it will have to wait a little. I didn’t do it right away as I wanted raise the issue before going to work. Did I break the etiquette by mentioning your suggestion? Sorry if that’s the case. Le mer. 21 déc. 2022 à 07:27, Jesse Wright @.***> a écrit :
In lieu of suggestions from others is there a minimal repro you can provide?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Here's the repro repro that you asked: https://github.com/ckemmler/solid-circular-dependencies
No ettiquite problems; I've had a look - when building it seems like the circular dependency is just a warning and not an actual error.
The crash
at anonymous (duplexify.js:50:25)
at e. (app.js:1:1547485)
at app.js:1:235078
at Object.next (app.js:1:235183)
Is coming from this file (https://github.com/nodejs/readable-stream/blob/main/lib/internal/streams/duplexify.js) so I think the warning listed is not relevant to your actual problem.
I tried to do some testing but I don't use obsidian so it is hard to test in that environment since I don't know how to add custom plugins to it; you might want to try polyfilling that module with node-streams?
Happy to try and do a bit more of a dive if you can point me how to test the bundle in obsidian.
Yes I can see that my problems stem from some deeper issues. Thank you
Trying to add Solid support to my Obsidian Social plugin, I'm seeing the following error while building (npm run dev):
package.json:
rollup.config.js:
The last part of the
package.json
(the readable-stream override) was suggested to me as a possible fix by @jeswr, but unfortunately that did not work.