fromdeno / deno2node

Compile your Deno project to run on Node.js.
MIT License
117 stars 3 forks source link

Examples in README do not work #3

Closed KnorpelSenf closed 3 years ago

KnorpelSenf commented 3 years ago

Tried to run the CLI using Deno on the project itself.

  1. Clone this repo, and cd into it.
  2. Run:
$ deno run --unstable --allow-read --allow-write https://raw.githubusercontent.com/wojpawlik/deno2node/v0.2.0/src/cli.ts src/tsconfig.json 
Download https://cdn.esm.sh/v41/validate-npm-package-name@3.0.0/deno/validate-npm-package-name.js
error: Import 'https://cdn.esm.sh/v41/validate-npm-package-name@3.0.0/deno/validate-npm-package-name.js' failed: 404 Not Found
    at https://esm.sh/validate-npm-package-name@3.0.0:2:0

Same error occurs when running npm i in the top level directory of this project.

wojpawlik commented 3 years ago

Works for me, try --reloading.

KnorpelSenf commented 3 years ago

I did that yesterday with the same result.

I did it today again, and now esm.sh does not 404 anymore. Who knows what had happened there … thanks :+1: