[0.3.0] module import issue from esm.sh
See original GitHub issue$ deno install -A -f --location=http://localhost -n aleph https://deno.land/x/aleph@0.3.0-alpha.2/cli.ts
$ aleph dev
Download https://deno.land/x/aleph@0.3.0-alpha.2/cli/dev.ts
Download https://deno.land/x/aleph@0.3.0-alpha.2/server/mod.ts
Download https://deno.land/x/aleph@0.3.0-alpha.2/server/server.ts
Download https://deno.land/x/aleph@0.3.0-alpha.2/server/app.ts
Download https://deno.land/x/aleph@0.3.0-alpha.2/framework/core/routing.ts
Download https://deno.land/x/aleph@0.3.0-alpha.2/compiler/mod.ts
Download https://deno.land/x/aleph@0.3.0-alpha.2/framework/core/events.ts
Download https://deno.land/x/aleph@0.3.0-alpha.2/compiler/dist/wasm.js
Download https://deno.land/x/aleph@0.3.0-alpha.2/compiler/dist/wasm-checksum.js
Download https://deno.land/x/aleph@0.3.0-alpha.2/compiler/dist/wasm-pack.js
Check https://deno.land/x/aleph@0.3.0-alpha.2/cli/dev.ts
INFO Aleph server config loaded from aleph.config.js
INFO Download https://deno.land/x/aleph@v0.3.0-alpha.2/mod.ts
INFO Force download from https://deno.land/x/aleph@v0.3.0-alpha.2/mod.ts
ERROR swc: Expected \';\', \'}\' or <eof> at https://deno.land/x/aleph@v0.3.0-alpha.2/mod.ts:1:4
Notice the missing v
(for version) in the download link. This is added in in the force download
causing it to access a 404.
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (19 by maintainers)
Top Results From Across the Web
Issues · ije/esm.sh - GitHub
A fast, global content delivery network for ES Modules. - Issues ... Failed to import - https://esm.sh/jsdom@19.0.0?no-check&pin=v64 browser.
Read more >ESM.sh
A fast, global content delivery network for NPM packages with ES6 module syntax. ... import React from "https://esm.sh/react@17" // 17.0.2 import React from ......
Read more >Using Node.js Packages Via CDNs | Manual - Deno
Most developers currently use npm modules in Deno by importing them using one of many CDNs. You can reference the CDN URL in...
Read more >2 ESM interoperability issue with Node + Typescript + Webpack
Just to clarify, I have 2 ESM modules, esm1 and esm2 written in Typescript. I compile them into es6 module with TSC. Moreover...
Read more >Tweets with replies by Aleph.js (@alephjs) / Twitter
this let you import some packages like @notionhq/client without pass ... GitHub - ije/esm.sh: A fast, global content delivery network for ES Modules....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Safe to say the original issue is fixed. Thank you!
This is
aleph init hello
with a couple lines added toapp.tsx
. It produces a similar error. https://github.com/FallingSnow/aleph.js-issue-118