imagemin-gifsicle icon indicating copy to clipboard operation
imagemin-gifsicle copied to clipboard

during install - 404 Not Found

Open zzroche opened this issue 5 years ago • 4 comments

during install "npm install imagemin-gifscicle"

1 verbose cli 'install', 1 verbose cli 'imagemin-gifscicle' ] 2 info using [email protected] 3 info using [email protected] 4 verbose npm-session 1eecd72bb6b81934 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 http fetch GET 404 https://registry.npmjs.org/imagemin-gifscicle 935ms 8 silly fetchPackageMetaData error for imagemin-gifscicle@latest 404 Not Found: imagemin-gifscicle@latest 9 timing stage:rollbackFailedOptional Completed in 2ms 10 timing stage:runTopLevelLifecycles Completed in 1924ms 11 verbose stack Error: 404 Not Found: imagemin-gifscicle@latest

zzroche avatar Feb 07 '19 09:02 zzroche

Command failed: C:\WINDOWS\system32\cmd.exe /s /c "autoreconf -ivf" "autoreconf" I've a problem when I try to intall gifsicle...

‼ tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80 ‼ gifsicle pre-build test failed i compiling from source × Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "autoreconf -ivf" "autoreconf" non � riconosciuto come comando interno o esterno, un programma eseguibile o un file batch.

zzroche avatar Feb 08 '19 09:02 zzroche

I have the same issue on GNU/Linux with the latest version.

$ npm ls gifsicle    
[email protected] /home/nodeg/git/test
└─┬ [email protected]
  └─┬ [email protected]
    └── [email protected]

It looks this way during the installation:

> [email protected] postinstall /home/nodeg/git/test/node_modules/gifsicle
> node lib/install.js

  ⚠ Response code 404 (Not Found)
  ⚠ gifsicle pre-build test failed
  ℹ compiling from source
  ✔ gifsicle built successfully

nodeg avatar Mar 31 '20 11:03 nodeg

The pre-compiled binaries are missing it's related to https://github.com/imagemin/gifsicle-bin/issues/113. The URLs for each os/architecture are:

https://github.com/imagemin/gifsicle-bin/blob/0468252f065deaa34fbbaff9c708ee6a08bc4405/lib/index.js#L6-L17

agebhar1 avatar Jul 02 '20 17:07 agebhar1

See also #40.

agebhar1 avatar Jul 02 '20 17:07 agebhar1