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

Can't install sharp on windows(x64). #598

Closed
clementine07 opened this issue Oct 11, 2016 · 4 comments
Closed

Can't install sharp on windows(x64). #598

clementine07 opened this issue Oct 11, 2016 · 4 comments
Labels

Comments

@clementine07
Copy link

clementine07 commented Oct 11, 2016

i have install gyp@3.4.0.
same issue with install bcrypt.

`C:\Users\dell>npm install sharp -g

> sharp@0.16.0 install F:\Program Files\nodejs\node_global\node_modules\sharp
> node-gyp rebuild


F:\Program Files\nodejs\node_global\node_modules\sharp>if not defined npm_config_node_gyp (node "F:\Program Files\nodejs\node_global\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )

`

@lovell
Copy link
Owner

lovell commented Oct 11, 2016

Hello, are the Windows pre-requisites for node-gyp installed? This usually include the Visual C++ Build Tools.

@clementine07
Copy link
Author

I don't install the Visual C++ Build Tools , because the prompt error: already installed C++ Build Tools Visual. Python has been installed: 2.7.11 Python. Studio Visual 2015 I have been updated and selected Common Tools for Visual C++ during setup.

@lovell
Copy link
Owner

lovell commented Oct 11, 2016

Thanks for confirming, are you able to share the full log, perhaps as a gist, when running npm install --verbose sharp (preferably without the -g global flag)?

@lovell
Copy link
Owner

lovell commented Oct 17, 2016

This appears to be a cross-post of nodejs/node-gyp#1034 - please feel free to re-open if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants