'npx @marp-team/marp-cli@latest -s ./' hangs
Howdy. Thanks for Marpit and marp-cli. I'm excited to try the latest Marpit (version 4.0.0), but I am rewarded with slight sadness. See output log attached. Note that I have to ^Z (background) the process in order to be able to kill it, ctrl-C doesn't work. (I'm on Linux.)
I ran:
npx -dd --yes @marp-team/marp-cli@latest -s ./
Using the same command with @3.4.0 works. Using strace seems to indicate a problem looking up an IP address in Cloudflare's network, but I haven't straced the whole run, just the apparent hang, so don't want to post a confusing log here. I certainly can, if that would be helpful. Cheers.
According to https://github.com/npm/cli/issues/4028, npm 10.4.0 and later may take unexpectedly long time to install due to not responding the request for securiy advisories. The workaround is downgrading npm to v10.3.x.
npm install -g npm@~10.3.0
I've confirmed mitigated hung up after downgrading.
That fixed it! Thank you so much, Yuki! :)
----- Original message ----- From: Yuki Hattori @.> To: marp-team/marp-cli @.> Cc: Jesse Adelman @.>, Author @.> Subject: Re: [marp-team/marp-cli] 'npx @@.*** -s ./' hangs (Issue #609) Date: Sunday, October 06, 2024 7:38 PM
According to npm/cli#4028 https://github.com/npm/cli/issues/4028, npm 10.4.0 and later may take unexpectedly long time to install due to not responding the request for securiy advisories. The workaround is downgrading npm to v10.3.x.
npm install -g npm@~10.3.0
I've confirmed mitigated hung up after downgrading.
— Reply to this email directly, view it on GitHub https://github.com/marp-team/marp-cli/issues/609#issuecomment-2395652304, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGW2ZGYKPCBGLJ7CEJVPXLZ2HCZBAVCNFSM6AAAAABPOVWJM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGY2TEMZQGQ. You are receiving this because you authored the thread.Message ID: @.***>
The latest npm CLI release v10.9.1 seems to be fixed the related problem(s). For those who found this issue: Try to update into the latest npm release.