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

FreeBSD: improve installation experience when libvips is not installed #1310

Closed
Bacaaa opened this issue Jul 27, 2018 · 7 comments
Closed

FreeBSD: improve installation experience when libvips is not installed #1310

Bacaaa opened this issue Jul 27, 2018 · 7 comments

Comments

@Bacaaa
Copy link

Bacaaa commented Jul 27, 2018

Hi, If I type in my server console npm install sharp I getting error:
info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.6.1/libvips-8.6.1-freebsd-x64.tar.gz
If i type in browser link info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.6.1/libvips-8.6.1-freebsd-x64.tar.gz I get too error 404, but if I change freebsd to linux in link I can download sharp from browser
Linux Ubuntu server
node -v v6.12.0
npm -v 5.8.0

@rodrigoalviani
Copy link
Contributor

You can update your node version to latest LTS version? (v8.11.3 at this time)

@Bacaaa
Copy link
Author

Bacaaa commented Jul 27, 2018

I have now v8.9.1 but my server work on freeBSD and I dont know how istall sharp. On localhost I work on windowsx64 and eveything is working good

@rodrigoalviani
Copy link
Contributor

I dont used at freebsd but did you try to install libvips manually?

@Bacaaa
Copy link
Author

Bacaaa commented Jul 27, 2018

I made npm install -g libvips and this work, then I try install sharp but the same get the same error

@lovell lovell changed the title Error 404 download link FreeBSD: Error 404 download link Aug 1, 2018
@lovell
Copy link
Owner

lovell commented Aug 1, 2018

Please see http://sharp.pixelplumbing.com/en/stable/install/#freebsd

The installation process could be improved to detect FreeBSD and provide a link to the relevant documentation so I'll leave this issue open to track that work (note to self/implementer: add a conditional statement in here somewhere).

@lovell lovell changed the title FreeBSD: Error 404 download link FreeBSD: improve installation experience when libvips is not installed Aug 1, 2018
@lovell
Copy link
Owner

lovell commented Aug 4, 2018

Error messaging for FreeBSD improved in commit bd9f238

@lovell lovell added this to the v0.20.6 milestone Aug 4, 2018
@lovell
Copy link
Owner

lovell commented Aug 20, 2018

v0.20.6 now available with improved error messaging for this scenario.

@lovell lovell closed this as completed Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants