You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It somehow tries to import it from JSR, despite having it marked as a local import. I don't know if this is a bug or expected behavior? I assume you can't dynamically import from a package installed from JSR? Seems limited to me. Might have to move away from deno as I don't want to reverse all my changes.
Anyone has a smiliar issue and figured it out? Would appreciate the help!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm currently trying to migrate to JSR with deno 2.0. My package has dynamic imports like:
And after I published my package to JSR and tried to run it locally after installing it globally, I got this error:
It somehow tries to import it from JSR, despite having it marked as a local import. I don't know if this is a bug or expected behavior? I assume you can't dynamically import from a package installed from JSR? Seems limited to me. Might have to move away from deno as I don't want to reverse all my changes.
Anyone has a smiliar issue and figured it out? Would appreciate the help!
Beta Was this translation helpful? Give feedback.
All reactions