Resolving 'dynamically imported module evaluation pending, but no pending ops'
I've been getting this error quite a lot, but I haven't found a single way to know which unresolved promises cause it.
Any tips on what to do to find the cause of these cases?
35 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
It is worth noting the topmost contents of
dummy.ts
as well:
assuming that "../../trollegle.ts"
is the entry fileUnknown User•2y ago
Message Not Public
Sign In & Join Server To View
8 | import { Dummy } from "./lib/sources/dummy.ts";
It imports it directlyUnknown User•2y ago
Message Not Public
Sign In & Join Server To View
Although then, weird how everything else that imports anything from
[entryfile]
doesnt come up with the issueUnknown User•2y ago
Message Not Public
Sign In & Join Server To View
dummy.ts among other files regarding various initializers go before
CATEGORY.ts
Maybe it's not possible to import from a file that directly imports said fileUnknown User•2y ago
Message Not Public
Sign In & Join Server To View
Nope, I'd argue it might even be the last one
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
What's considered a "circular dependency"
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
That's why I wanted to ask, because I already do something similar (excluding
CATEGORY.ts
) which does not produce the error
Okay, what about this:Unknown User•2y ago
Message Not Public
Sign In & Join Server To View