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

ipx 2.x.x causes installation issues #6308

Open
Kemystra opened this issue Jan 12, 2024 · 0 comments
Open

ipx 2.x.x causes installation issues #6308

Kemystra opened this issue Jan 12, 2024 · 0 comments
Labels
type: bug code to address defects in shipped code

Comments

@Kemystra
Copy link

Describe the bug

Trying to install netlify-cli on npm may cause errors like this:

npm ERR! code 1
npm ERR! path /home/user/.local/lib/node_modules/ipx/node_modules/sharp
npm ERR! command failed
npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-
gyp rebuild && node install/dll-copy)
npm ERR! sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-linux-x64.tar.br
npm ERR! sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm ERR! sharp: Installation error: Request timed out

Older version of ipx depends on sharp 0.32.x, which uses a problematic custom install script (see unjs/ipx#202). Very recently, ipx have released a new major version (v3.0.0) to address this issue.

Steps to reproduce

  1. Run npm install netlify-cli@latest
  2. Installation failure

Configuration

No response

Environment

  System:
    OS: Linux 6.6 EndeavourOS
    CPU: (2) x64 Intel(R) Celeron(R) N4500 @ 1.10GHz
    Memory: 1.59 GB / 3.58 GB
    Container: Yes
    Shell: 3.6.4 - /usr/bin/fish
  Binaries:
    Node: 21.5.0 - /usr/bin/node
    Yarn: 1.22.21 - ~/.local/bin/yarn
    npm: 10.2.5 - ~/.local/bin/npm
    pnpm: 8.14.1 - ~/.local/bin/pnpm
    bun: 1.0.21 - /usr/bin/bun
@Kemystra Kemystra added the type: bug code to address defects in shipped code label Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

1 participant