hasundue / molt

Update dependencies the Deno way
https://jsr.io/@molt
MIT License
78 stars 5 forks source link

Molt stops running with `TypeError: scheme 'node' not supported` #234

Open 5ouma opened 2 weeks ago

5ouma commented 2 weeks ago

When I run molt deno.json -w with the deno.json and deno.lock, Molt stops with this error. It was also observed with Molt Action. (log is here)

error: Uncaught (in promise) TypeError: scheme 'node' not supported
      const res = await fetch(specifier);
                        ^
    at mainFetch (ext:deno_fetch/26_fetch.js:152:43)
    at ext:deno_fetch/26_fetch.js:353:9
    at new Promise (<anonymous>)
    at fetch (ext:deno_fetch/26_fetch.js:316:18)
    at https://jsr.io/@molt/core/0.19.8/locks.ts:69:25
    at Array.map (<anonymous>)
    at https://jsr.io/@molt/core/0.19.8/locks.ts:68:37
    at eventLoopTick (ext:core/01_core.js:174:7)
    at async Promise.all (index 0)
    at async createRemoteLock (https://jsr.io/@molt/core/0.19.8/locks.ts:65:3)

Even if it stops with the error, both files are changed correctly.

hasundue commented 2 weeks ago

Sorry for late but thank you for reporting. Sounds a serious one but probably easy to fix with the provided information. I'm still busy in finalization of moving so it might take some time to be done.