skypackjs / skypack-cdn

An issue tracker for the CDN
107 stars 5 forks source link

[Package Error] \"node:os\" does not exist. #180

Open SteelAlloy opened 3 years ago

SteelAlloy commented 3 years ago

When importing @actions/core from Deno, I get the following error:

❯ deno run --unstable https://cdn.skypack.dev/@actions/core
Check https://cdn.skypack.dev/@actions/core
error: Uncaught Error: [Package Error] "node:os" does not exist. (Imported by "@actions/core").
throw new Error("[Package Error] \"node:os\" does not exist. (Imported by \"@actions/core\").");
      ^
    at https://cdn.skypack.dev/error/node:node:os?from=@actions/core:14:7

But as far as I know, there is a node:os polyfill . What can I do to use this package under Deno ?

Thanks !

michael-spengler commented 3 years ago

I was wondering where to find the code in order to try fixing this on our own and in order to contribute to this project. ... as the web page (https://www.skypack.dev/about) says it is an open source project.

okikio commented 3 years ago

This issue from bundle.js.org is related, https://github.com/okikio/bundle/issues/2