-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Gyp dependency on Windows despite shipping precompiled binary #458
Comments
Hi Steve, thanks for your interest. sharp depends on node-gyp at install time and Python, MSVC etc. are dependencies of node-gyp. I'd be happy to accept a PR to improve the clarity of these docs. #186 covers the adoption of node-pre-gyp, which would involve shipping pre-compiled versions of sharp (in addition to pre-compiled versions of libvips currently provided). |
nodejs/node-gyp#962 might remove the need for Python. |
@SteveSanderson Have you seen https://www.npmjs.com/package/windows-build-tools ? |
Thanks for the responses! It's been a while, but I'd still definitely be interested in using I'll look forward to progress on #186, especially if the use of Thanks so much for your work on this! |
Hi - I was hoping to be able to use sharp in some ASP.NET samples because it looked like it would install easily on Mac/Linux/Windows.
However, when installing via
npm install --save sharp
on a stock Windows 10 machine I'm getting the following error:Of course,
python
isn't generally installed on typical Windows developer or production server machines, so this error is to be expected ifgyp
gets involved.What I had been hoping is that your pre-bundling of the binary
libvips
would mean this situation didn't occur, and no external dependencies (such as python) would be needed.Can you let me know if I'm understanding this correctly?
Thanks. And BTW everything else about sharp worked magnificently - the API is beautiful and the performance was a couple of orders of magnitude better than I was getting from
jimp
before.The text was updated successfully, but these errors were encountered: