axetroy / deno_math

Deno module for high-precision calculations and scientific computing
23 stars 3 forks source link

Import 'https://cdn.skypack.dev/-/big.js...' failed: 404 Not Found #5

Closed ca-d closed 2 years ago

ca-d commented 3 years ago

what I do

$  deno
Deno 1.5.3
exit using ctrl+d or close()
> const m = await import('https://deno.land/x/math@v1.1.0/mod.ts')

what I expect

undefined
>

m now refers to the math module

what I get

Download https://cdn.pika.dev/big.js/^5.2.2
Download https://cdn.skypack.dev/big.js/^5.2.2
Download https://cdn.skypack.dev/-/big.js@v6.0.2-LkQIJuz1z85vGhCTv8DW/dist=es2020,mode=raw/^5.2.2
Uncaught TypeError: Import 'https://cdn.skypack.dev/-/big.js@v6.0.2-LkQIJuz1z85vGhCTv8DW/dist=es2020,mode=raw/^5.2.2' failed: 404 Not Found
    at https://deno.land/x/math@v1.1.0/big/mod.ts:2:0
>
Regan-Koopmans commented 3 years ago

@c-dinkel Would you be able to update deno and retry? The above worked for me on deno 1.8, which retrieves

https://cdn.skypack.dev/-/big.js@v5.2.2-sUR8fKsGHRxsJyqyvOSP/dist=es2020,mode=imports/optimized/bigjs.js
ca-d commented 2 years ago

Works for me in Deno 1.20