-
-
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
can't install sharp #1539
Labels
Comments
Hello, if you're able to use Node 10 then you'll get pre-compiled binaries. |
Same issue:
|
If you wish to compile from source, please see the dependencies listed at http://sharp.pixelplumbing.com/en/stable/install/#building-from-source e.g. Python 2.7. |
I was getting similar errors. I had been using Node v12. I downgraded to the LTS Node v10 and that fixed the issue. |
Repository owner
locked and limited conversation to collaborators
May 20, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
$ npm i sharp
info sharp Using cached C:\Users\Alex\AppData\Roaming\npm-cache_libvips\libvips-8.7.0-win32-x64.tar.gz
info sharp Creating C:\Users\Alex\Work\server_test\node_modules\sharp\build\Release
info sharp Copying DLLs from C:\Users\Alex\Work\server_test\node_modules\sharp\vendor\lib to C:\Users\Alex\Work\server_test\node_modules\sharp\build\Release
prebuild-install WARN install No prebuilt binaries found (target=11.6.0 runtime=node arch=x64 platform=win32)
C:\Users\Alex\Work\server_test\node_modules\sharp>if not defined npm_config_node_gyp (node "C:\Users\Alex\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Alex\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
▒▒▒▒▒▒▒ ▒▒⮢ ▒ ▒⮬ ▒襭▒▒ ▒▒ ▒▒▒▒▒▒. ▒⮡▒ ▒▒▒▒▒▒▒ ▒▒ࠫ▒▒▒쭮▒ ▒▒▒▒▒▒▒, ▒▒▒▒▒▒▒ ▒▒ࠬ▒▒▒ "/m".
MSBUILD : error MSB3428: ▒▒▒▒㧪▒ ▒▒▒▒▒▒▒▒▒ Visual C++ "VCBuild.exe" ▒▒▒▒▒▒▒▒▒▒. ▒▒▒ᮡ▒ ▒襭▒▒ ▒▒▒▒▒: 1) ▒▒⠭▒▒▒▒ .NET Framework 2.0 SDK, 2) ▒▒⠭▒▒▒▒ Microsoft Visual Studio 2005 ▒▒▒ 3) 㪠▒▒▒▒▒ ▒▒▒▒ ▒▒▒▒▒▒▒▒▒ ▒ ▒▒⥬▒▒▒ ▒▒▒, ▒ ▒▒▒▒▒▒▒▒▒ ▒▒⠭▒▒▒▒▒ ▒ ▒▒㣮▒ ▒▒▒▒. [C:\Users\Alex\Work\server_test\node_modules\sharp\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1gyp ERR! stack at ChildProcess.onExit (C:\Users\Alex\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:188:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Alex\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Alex\Work\server_test\node_modules\sharp
gyp ERR! node -v v11.6.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN marked-terminal@1.7.0 requires a peer of marked@^0.3.3 but none is installed. You must install peer dependencies yourself.
npm WARN myapp@1.0.0 No description
npm WARN myapp@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sharp@0.21.1 install:
(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sharp@0.21.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Alex\AppData\Roaming\npm-cache_logs\2019-01-08T11_24_22_216Z-debug.log
2019-01-08T11_24_22_216Z-debug.log
The text was updated successfully, but these errors were encountered: