Closed
Description
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:
$ deno upgrade --version 1.3.3
$ deno install -f --unstable --allow-read --allow-write --allow-net https://deno.land/x/[email protected]/cli.js
$ lume
#Site build successfully
But after upgrade to 1.4.0
:
$ deno upgrade --version 1.4.0
$ deno install -f --unstable --allow-read --allow-write --allow-net https://deno.land/x/[email protected]/cli.js
$ lume
error: Uncaught TypeError: Cannot read property 'default' of undefined
export default __exp["default"];
^
at file:///Users/oscarotero/.deno/bin/lume.js:47172:21
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.