-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Unable to install some scripts in version 1.4.0 #7455
Comments
This issue seems to be caused by the bundling: ~ ❯❯❯ deno bundle --unstable https://deno.land/x/[email protected]/cli.js > luma.js
Bundle https://deno.land/x/[email protected]/cli.js
~ ❯❯❯ deno run --unstable luma.js
error: Uncaught TypeError: Cannot read property 'default' of undefined
export default __exp["default"];
^
at file:///home/lucacasonato/luma.js:47172:21 @kitsonk do we not emit source maps for bundles? |
@lucacasonato no, see: #4499 and #4549. #7225 should address this though. |
I realise having install do a bundle sounds great, but in retrospect, there are quite a few scenarios we can't/don't support with bundling at the moment. I am not sure it is viable, or it needs to be an option on |
Having an option would be great. Like |
This problem must have been caused by #5276. I expected it might have broken some code but we decided to land it anyway. I guess we'll have to revert this functionality until bundling is finished. |
This problem has been fixed in 1.4.1, so I'm closing this. |
Hi, I just upgraded to the latest version and am having some problems installing libraries.
I'm working on this static site generator: https://deno.land/x/[email protected]
I've a downgrade to
1.3.3
and the library is installed and work fine:But after upgrade to
1.4.0
:The library works fine if it's executed locally, without install it (with
deno run --unstable --allow-read --allow-write --allow-net cli.js
), but it's failing on install. And because in the new version, the code is bundled before installation, I cannot know what is the source's filename and line that is failing.The text was updated successfully, but these errors were encountered: