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

Update sharp to 0.33.1 #6312

Open
salim-b opened this issue Jan 12, 2024 · 0 comments
Open

Update sharp to 0.33.1 #6312

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

Comments

@salim-b
Copy link

salim-b commented Jan 12, 2024

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.)

@salim-b salim-b 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