netlify/cli

Update sharp to `0.33.1`

Opened this issue · 1 comments

Describe the bug

Installation of sharp 0.32.6, the version currently in use, fails with npm installed via Snap. See this forum thread, especially this post.

Latest sharp version 0.33.1 installs fine OTOH, so netlify-cli should really update.

Steps to reproduce

npm update --global netlify-cli

fails with

npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm ERR! code 7
npm ERR! path /home/salim/.software/managed/npm/lib/node_modules/netlify-cli/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! A complete log of this run can be found in: /home/salim/.cache/npm/_logs/2024-01-18T16_06_59_031Z-debug-0.log

Configuration

irrelevant

Environment

System:
OS: Linux 6.5 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor
Memory: 31.36 GB / 62.71 GB
Container: Yes
Shell: 5.1.16 - /bin/bash

(Node.js is installed via Snap, thus the Container: Yes, I guess.)

Hi, still running into this almost 6 months later. Any plans to fix this issue?