11ty / eleventy

A simpler site generator. Transforms a directory of templates (of varying types) into HTML.

Home Page:https://www.11ty.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to install 11ty on fedora 36 node 18.13.0 and npm cli 9.5.1

Denovocto opened this issue · comments

Operating system

Fedora 36 Linux

Eleventy

latest

Describe the bug

Node & NPM versions

  • Node: v18.13.0
  • NPM: 9.5.1

General Description

I am trying to install 11ty as follows.
npm install @11ty/eleventy --save-dev --verbose
Result of this command is that it randomly hangs forever trying to fetch a random package.
Ctrl + C to stop the running install after a few minutes.

Things I've tried

  • Tried to use the -timeout=999999 flag, no avail. I have speedy internet connection, before, during and after trying to install Im able to get 100Mbps, so I don't think its a network issue.
  • Tried to install globally by npm install -g @11ty/eleventy
  • Tried to install via bun using bun add @11ty/eleventy. Bun gives an error error: IntegrityCheckFailed extracting tarball for multimat
  • Ive read this other issue that is maybe related but I am unsure:
    npm/cli#4028
  • I'm able to install other npm packages without a problem.
  • Tried npm cache clear --force and then npm cache verify, followed by npm update
  • Tried npm cache clean --force and then npm cache verify, followed by npm update
  • Tried npm cache clear --force, npm cache clean --force, npm cache verify, followed by npm update
  • I tried to see if something is actually downloading during this period, and nothing is being transmitted in the network during this time.

Reproduction steps

  1. run npm install -g @11ty/eleventy
  2. Wait a few minutes and monitor network.
  3. Installation hangs forever on random package each time. If not verbose says: idealTree:lib: sill idealTree buildDeps. If verbose output: idealTree:<directory_name>: http fetch GET 200 https://registry.npmjs.org/<package_name> <number>ms (cache revalidated) or idealTree:<directory_name>: http fetch GET 200 https://registry.npmjs.org/<package_name> <number>ms (cache miss).
  4. CTRL + C to stop and return to shell.
  5. No install happened

Expected behavior

I would expect for 11ty to be installed after running the command for a reasonable amount of time.

Reproduction URL

No response

Screenshots

No response