Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'npx @marp-team/marp-cli@latest -s ./' hangs #609

Open
boldandbusted opened this issue Oct 6, 2024 · 2 comments
Open

'npx @marp-team/marp-cli@latest -s ./' hangs #609

boldandbusted opened this issue Oct 6, 2024 · 2 comments
Labels
upstream Caused in upstream, not in this repo

Comments

@boldandbusted
Copy link

boldandbusted commented Oct 6, 2024

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.

npx-out-hang.txt

@yhatt
Copy link
Member

yhatt commented Oct 6, 2024

According to npm/cli#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.

@yhatt yhatt added the upstream Caused in upstream, not in this repo label Oct 6, 2024
@boldandbusted
Copy link
Author

boldandbusted commented Oct 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Caused in upstream, not in this repo
Projects
None yet
Development

No branches or pull requests

2 participants