imagemin / imagemin-gifsicle

Imagemin plugin for Gifsicle
MIT License
116 stars 54 forks source link

during install - 404 Not Found #32

Open zzroche opened 5 years ago

zzroche commented 5 years ago

during install "npm install imagemin-gifscicle"

1 verbose cli 'install', 1 verbose cli 'imagemin-gifscicle' ] 2 info using npm@6.4.1 3 info using node@v10.15.1 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 commented 5 years ago

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.

nodeg commented 4 years ago

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

$ npm ls gifsicle    
foundation-emails-template@1.0.0 /home/nodeg/git/test
└─┬ gulp-imagemin@7.1.0
  └─┬ imagemin-gifsicle@7.0.0
    └── gifsicle@5.0.0

It looks this way during the installation:

> gifsicle@5.0.0 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
agebhar1 commented 4 years ago

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 commented 4 years ago

See also #40.