OS: Debian 12.5.0
When I try to install netlify-cli
via terminal, I get this
$ npm install -g netlify-cli
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 1
npm ERR! path /home/username/.nvm/versions/node/v20.11.1/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! 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
npm ERR! A complete log of this run can be found in: /home/username/.npm/_logs/2024-02-16T16_46_14_992Z-debug-0.log
I already installed sharp
$ npm list -g --depth=0
/home/username/.nvm/versions/node/v20.11.1/lib
├── corepack@0.23.0
├── npm@10.2.4
└── sharp@0.33.2
Here is the log file mentioned above (in npm install -g netlify-cli
:
And two other things:
- It won’t let me upload a .log text file because it is “unauthorized”. It will only let me upload .png and .zip and so on
- It won’t even let me paste the whole thing, there is a character limit.