lovell / sharp

High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
https://sharp.pixelplumbing.com
Apache License 2.0
29.21k stars 1.29k forks source link

The specified procedure could not be found. project\node_modules\sharp\build\Release\sharp.node #1756

Closed lolmaus closed 5 years ago

lolmaus commented 5 years ago

Trying to use sharp in an Ember app.

Works on Linux and Mac, but on Windows I get:

The specified procedure could not be found.
\\?\C:\Code\kaliber5\tlw\node_modules\sharp\build\Release\sharp.node

Stack Trace and Error Report: C:\Users\lolmaus\AppData\Local\Temp/error.dump.b73c72df480e1d888f333652b813d919.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! frontend@1.6.5 start: `ember serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the frontend@1.6.5 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

When using yarn, the error is the same as with npm.

We don't use node-canvas.

This issue has previously been reported: #1326.


Log dump ``` ================================================================================= ENV Summary: TIME: Tue Jun 18 2019 12:45:35 GMT+0300 (Moscow Standard Time) TITLE: ember ARGV: - C:\Program Files\nodejs\node.exe - C:\Code\kaliber5\tlw\node_modules\ember-cli\bin\ember - serve EXEC_PATH: C:\Program Files\nodejs\node.exe TMPDIR: C:\Users\lolmaus\AppData\Local\Temp SHELL: null PATH: - C - \Users\lolmaus\AppData\Roaming\nvm\v10.15.0\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C - \Code\kaliber5\tlw\node_modules\.bin;C - \Users\lolmaus\bin;C - \Program Files\Git\mingw64\bin;C - \Program Files\Git\usr\local\bin;C - \Program Files\Git\usr\bin;C - \Program Files\Git\usr\bin;C - \Program Files\Git\mingw64\bin;C - \Program Files\Git\usr\bin;C - \Users\lolmaus\bin;C - \ProgramData\DockerDesktop\version-bin;C - \Program Files\Docker\Docker\Resources\bin;C - \Python27;C - \Python27\Scripts;C - \program files\python3\scripts;C - \program files\python3;C - \program files (x86)\common files\oracle\java\javapath;C - \windows\system32;C - \windows;C - \windows\system32\wbem;C - \windows\system32\windowspowershell\v1.0;C - \program files\putty;C - \users\lolmaus\appdata\roaming\nvm;C - \windows\system32\openssh;C - \users\lolmaus\appdata\local\microsoft\windowsapps;C - \program files\oracle\virtualbox;C - \portable apps\sysinternalssuite;C - \portable apps\nirsoft_package_enc_1.20.39\nirsoft;C - \program files\docker toolbox;C - \users\lolmaus\appda;C - \program files (x86)\vagrant\bin;C - \program files\git\cmd;C - \program files\nvidia corporation\nvidia nvdlisr;C - \Program Files (x86)\NVIDIA Corporation\PhysX\Common;C - \ProgramData\chocolatey\bin;C - \Program Files\nodejs;C - \WINDOWS\system32;C - \WINDOWS;C - \WINDOWS\System32\Wbem;C - \WINDOWS\System32\WindowsPowerShell\v1.0;C - \WINDOWS\System32\OpenSSH;C - \Users\lolmaus\AppData\Roaming\nvm;C - \Program Files\nodejs;C - \Program Files\Intel\WiFi\bin;C - \Program Files\Common Files\Intel\WirelessCommon;C - \Program Files (x86)\Yarn\bin;C - \Program Files (x86)\Kensington\TrackballWorks;C - \Users\lolmaus\AppData\Local\Microsoft\WindowsApps;C - \Program Files\Microsoft VS Code\bin;C - \Program Files\Oracle\VirtualBox;C - \Portable Apps\SysinternalsSuite;C - \Portable Apps\nirsoft_package_enc_1.20.39\NirSoft;C - \Program Files\Docker Toolbox;C - \Program Files\Microsoft VS Code Insiders\bin;C - \Users\lolmaus\AppData\Local\Programs\Microsoft VS Code Insiders\bin;C - \Users\lolmaus\AppData\Local\Programs\Microsoft VS Code\bin;C - \Users\lolmaus\AppData\Roaming\npm;C - \Users\lolmaus\AppData\Local\Yarn\bin;C - \Users\lolmaus\AppData\Local\GitHubDesktop\bin;C - \Program Files\Git\usr\bin\vendor_perl;C - \Program Files\Git\usr\bin\core_perl PLATFORM: win32 x64 FREEMEM: 45383012352 TOTALMEM: 68665008128 UPTIME: 71340 LOADAVG: 0,0,0 CPUS: - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 - AMD Ryzen 7 2700X Eight-Core Processor - 3700 ENDIANNESS: LE VERSIONS: - ares: 1.15.0 - cldr: 33.1 - http_parser: 2.8.0 - icu: 62.1 - modules: 64 - napi: 3 - nghttp2: 1.34.0 - node: 10.15.0 - openssl: 1.1.0j - tz: 2018e - unicode: 11.0 - uv: 1.23.2 - v8: 6.8.275.32-node.45 - zlib: 1.2.11 ERROR Summary: - broccoliBuilderErrorStack: [undefined] - code: [undefined] - codeFrame: [undefined] - errorMessage: The specified procedure could not be found. \\?\C:\Code\kaliber5\tlw\node_modules\sharp\build\Release\sharp.node - errorType: [undefined] - location: - column: [undefined] - file: [undefined] - line: [undefined] - message: The specified procedure could not be found. \\?\C:\Code\kaliber5\tlw\node_modules\sharp\build\Release\sharp.node - name: Error - nodeAnnotation: [undefined] - nodeName: [undefined] - originalErrorMessage: [undefined] - stack: Error: The specified procedure could not be found. \\?\C:\Code\kaliber5\tlw\node_modules\sharp\build\Release\sharp.node at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object. (C:\Code\kaliber5\tlw\node_modules\sharp\lib\constructor.js:10:15) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object. (C:\Code\kaliber5\tlw\node_modules\sharp\lib\index.js:3:15) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object. (C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\index.js:2:15) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at PackageInfo.getAddonConstructor (C:\Code\kaliber5\tlw\node_modules\ember-cli\lib\models\package-info-cache\package-info.js:380:18) at graph.each (C:\Code\kaliber5\tlw\node_modules\ember-cli\lib\models\instantiate-addons.js:70:38) at Vertices.each (C:\Code\kaliber5\tlw\node_modules\dag-map\dag-map.umd.js:197:13) at Vertices.walk (C:\Code\kaliber5\tlw\node_modules\dag-map\dag-map.umd.js:125:14) at DAG.each (C:\Code\kaliber5\tlw\node_modules\dag-map\dag-map.umd.js:68:24) at instantiateAddons (C:\Code\kaliber5\tlw\node_modules\ember-cli\lib\models\instantiate-addons.js:53:9) at Project.initializeAddons (C:\Code\kaliber5\tlw\node_modules\ember-cli\lib\models\project.js:471:19) at Project.eachAddonCommand (C:\Code\kaliber5\tlw\node_modules\ember-cli\lib\models\project.js:530:12) at module.exports (C:\Code\kaliber5\tlw\node_modules\ember-cli\lib\cli\lookup-command.js:33:13) at RSVP.hash.then.environment (C:\Code\kaliber5\tlw\node_modules\ember-cli\lib\cli\cli.js:100:28) at tryCatcher (C:\Code\kaliber5\tlw\node_modules\rsvp\dist\rsvp.js:326:21) at invokeCallback (C:\Code\kaliber5\tlw\node_modules\rsvp\dist\rsvp.js:498:33) at publish (C:\Code\kaliber5\tlw\node_modules\rsvp\dist\rsvp.js:484:9) at flush (C:\Code\kaliber5\tlw\node_modules\rsvp\dist\rsvp.js:2441:7) at process._tickCallback (internal/process/next_tick.js:61:11) ================================================================================= ```

What is the output of running `npm install --verbose sharp`? ``` $ npm install --verbose sharp npm info it worked if it ends with ok npm verb cli [ 'C:\\Program Files\\nodejs\\node.exe', npm verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', npm verb cli 'install', npm verb cli '--verbose', npm verb cli 'sharp' ] npm info using npm@6.4.1 npm info using node@v10.15.0 npm verb npm-session 946124db8957e2e9 npm http fetch GET 304 https://registry.npmjs.org/sharp 251ms (from cache) npm timing stage:loadCurrentTree Completed in 5643ms npm timing stage:loadIdealTree:cloneCurrentTree Completed in 39ms npm timing stage:loadIdealTree:loadShrinkwrap Completed in 3767ms npm http fetch GET 304 https://registry.npmjs.org/tar 69ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/simple-get 118ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/semver 125ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/yallist 47ms (from cache) npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 9478ms npm timing stage:loadIdealTree Completed in 16161ms npm timing stage:generateActionsToTake Completed in 224ms npm verb correctMkdir C:\Users\lolmaus\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing npm verb lock using C:\Users\lolmaus\AppData\Roaming\npm-cache\_locks\staging-c3217941e40dc89f.lock for C:\Code\kaliber5\tlw\node_modules\.staging npm timing audit compress Completed in 97ms npm info audit Submitting payload of 171088bytes npm http fetch GET 200 https://registry.npmjs.org/sharp/-/sharp-0.22.1.tgz 174ms npm timing action:extract Completed in 515ms npm info lifecycle sharp@0.19.1~preuninstall: sharp@0.19.1 npm info lifecycle sharp@0.19.1~uninstall: sharp@0.19.1 npm verb unbuild rmStuff sharp@0.19.1 from C:\Code\kaliber5\tlw\node_modules npm info lifecycle sharp@0.19.1~postuninstall: sharp@0.19.1 npm timing action:unbuild Completed in 2ms npm timing action:remove Completed in 153ms npm timing action:finalize Completed in 186ms npm timing action:refresh-package-json Completed in 141ms npm info lifecycle yallist@3.0.3~preinstall: yallist@3.0.3 npm info lifecycle tar@4.4.10~preinstall: tar@4.4.10 npm info lifecycle sharp@0.19.1~preinstall: sharp@0.19.1 npm info lifecycle semver@6.1.1~preinstall: semver@6.1.1 npm info lifecycle simple-get@3.0.3~preinstall: simple-get@3.0.3 npm info lifecycle sharp@0.22.1~preinstall: sharp@0.22.1 npm timing action:preinstall Completed in 4ms npm info linkStuff yallist@3.0.3 npm info linkStuff tar@4.4.10 npm info linkStuff sharp@0.19.1 npm info linkStuff semver@6.1.1 npm verb linkBins [ { semver: './bin/semver' }, npm verb linkBins 'C:\\Code\\kaliber5\\tlw\\node_modules\\sharp\\node_modules\\.bin', npm verb linkBins false ] npm info linkStuff simple-get@3.0.3 npm info linkStuff sharp@0.22.1 npm timing action:build Completed in 13ms npm info lifecycle yallist@3.0.3~install: yallist@3.0.3 npm info lifecycle tar@4.4.10~install: tar@4.4.10 npm info lifecycle sharp@0.19.1~install: sharp@0.19.1 > sharp@0.19.1 install C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp > node-gyp rebuild C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp>if not defined npm_config_node_gyp (node "C:\Users\lolmaus\AppData\Roaming\nvm\v10.15.0\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\lolmaus\AppData\Roaming\nvm\v10.15.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) gyp info it worked if it ends with ok gyp verb cli [ 'C:\\Program Files\\nodejs\\node.exe', gyp verb cli 'C:\\Users\\lolmaus\\AppData\\Roaming\\nvm\\v10.15.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js', gyp verb cli 'rebuild' ] gyp info using node-gyp@3.8.0 gyp info using node@10.15.0 | win32 | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "c:\Python27\python.exe" in the PATH gyp verb `which` succeeded c:\Python27\python.exe c:\Python27\python.exe gyp verb check python version `c:\Python27\python.exe -c "import sys; print "2.7.16 gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j gyp verb get node dir no --target version specified, falling back to host node version: 10.15.0 gyp verb command install [ '10.15.0' ] gyp verb install input version string "10.15.0" gyp verb install installing version: 10.15.0 gyp verb install --ensure was passed, so won't reinstall if already installed gyp verb install version is already installed, need to check "installVersion" gyp verb got "installVersion" 9 gyp verb needs "installVersion" 9 gyp verb install version is good gyp verb get node dir target node version installed: 10.15.0 gyp verb build dir attempting to create "build" dir: C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build gyp verb build dir "build" dir needed to be created? C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build gyp verb find vs2017 Found installation at: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools gyp verb find vs2017 - Found Microsoft.VisualStudio.Component.Windows10SDK.17763 gyp verb find vs2017 - Found Microsoft.VisualStudio.Component.VC.Tools.x86.x64 gyp verb find vs2017 - Found Microsoft.VisualStudio.VC.MSBuild.Base gyp verb find vs2017 - Using this installation with Windows 10 SDK gyp verb find vs2017 using installation: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools gyp verb build/config.gypi creating config file gyp verb build/config.gypi writing out config file: C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\config.gypi gyp verb config.gypi checking for gypi file: C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\config.gypi gyp verb common.gypi checking for gypi file: C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\common.gypi gyp verb gyp gyp format was not specified; forcing "msvs" gyp info spawn c:\Python27\python.exe gyp info spawn args [ 'C:\\Users\\lolmaus\\AppData\\Roaming\\nvm\\v10.15.0\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'msvs', gyp info spawn args '-G', gyp info spawn args 'msvs_version=2015', gyp info spawn args '-I', gyp info spawn args 'C:\\Code\\kaliber5\\tlw\\node_modules\\ember-lazy-responsive-image\\node_modules\\sharp\\build\\config.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\Users\\lolmaus\\AppData\\Roaming\\nvm\\v10.15.0\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\Users\\lolmaus\\.node-gyp\\10.15.0\\include\\node\\common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=C:\\Users\\lolmaus\\.node-gyp\\10.15.0', gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\lolmaus\\AppData\\Roaming\\nvm\\v10.15.0\\node_modules\\npm\\node_modules\\node-gyp', gyp info spawn args '-Dnode_lib_file=C:\\Users\\lolmaus\\.node-gyp\\10.15.0\\<(target_arch)\\node.lib', gyp info spawn args '-Dmodule_root_dir=C:\\Code\\kaliber5\\tlw\\node_modules\\ember-lazy-responsive-image\\node_modules\\sharp', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'C:\\Code\\kaliber5\\tlw\\node_modules\\ember-lazy-responsive-image\\node_modules\\sharp\\build', gyp info spawn args '-Goutput_dir=.' ] gyp verb command build [] gyp verb build type Release gyp verb architecture x64 gyp verb node dev dir C:\Users\lolmaus\.node-gyp\10.15.0 gyp verb found first Solution file build/binding.sln gyp verb using MSBuild: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe gyp info spawn args [ 'build/binding.sln', gyp info spawn args '/nologo', gyp info spawn args '/p:Configuration=Release;Platform=x64' ] Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 2019-06-18 13:14:17. Project "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\binding.sln" on node 1 (default targets). ValidateSolutionConfiguration: Building solution configuration "Release|x64". Project "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\binding.sln" (1) is building "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\libvips-cpp.vcxproj" (2) on node 1 (default targets). PrepareForBuild: Creating directory "Release\obj\libvips-cpp\". Creating directory "Release\obj\libvips-cpp\libvips-cpp.tlog\". InitializeBuildStatus: Creating "Release\obj\libvips-cpp\libvips-cpp.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\CL.exe /c /I"C:\Users\lolmaus\.node-gyp\10.15.0\include\node" /I"C:\Users\lolmaus\.node-gyp\10.15.0\src" /I"C:\Users\lolmaus\.node-gyp\10.15.0\deps\openssl\config" /I"C:\Users\lolmaus\.node-gyp\10.15.0\deps\openssl\openssl\include" /I"C:\Users\lolmaus\.node-gyp\10.15.0\deps\uv\include" /I"C:\Users\lolmaus\.node-gyp\10.15.0\deps\zlib" /I"C:\Users\lolmaus\.node-gyp\10.15.0\deps\v8\include" /I..\vendor\include /I"..\vendor\include\glib-2.0" /I"..\vendor\lib\glib-2.0\include" /Z7 /nologo /W3 /WX- /diagnostics:classic /MP /Ox /Ob2 /Oi /Ot /Oy /GL /D "NODE_GYP_MODULE_NAME=libvips-cpp" /D USING_UV_SHARED=1 /D USING_V8_SHARED=1 /D V8_DEPRECATION_WARNINGS=1 /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HAS_EXCEPTIONS=0 /D VIPS_CPLUSPLUS_EXPORTS /D _ALLOW_KEYWORD_MACROS /D _WINDLL /GF /Gm- /EHsc /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"Release\obj\libvips-cpp\\" /Fd"Release\obj\libvips-cpp\vc141.pdb" /Gd /TP /wd4351 /wd4355 /wd4800 /wd4251 /wd4275 /wd4244 /wd4267 /FC /errorReport:queue ..\src\libvips\cplusplus\VError.cpp ..\src\libvips\cplusplus\VInterpolate.cpp ..\src\libvips\cplusplus\VImage.cpp "C:\Users\lolmaus\AppData\Roaming\nvm\v10.15.0\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.cc" VError.cpp VInterpolate.cpp VImage.cpp win_delay_load_hook.cc Link: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\Release\libvips-cpp.dll" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib DelayImp.lib "C:\Users\lolmaus\.node-gyp\10.15.0\x64\node.lib" ..\vendor\lib\libvips.lib "..\vendor\lib\libglib-2.0.lib" "..\vendor\lib\libgobject-2.0.lib" Delayimp.lib /DELAYLOAD:iojs.exe /DELAYLOAD:node.exe /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\Release\libvips-cpp.pdb" /MAP /MAPINFO:EXPORTS /OPT:REF /OPT:ICF/TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\Release\libvips-cpp.lib" /MACHINE:X64 /ignore:4199 /LTCG:INCREMENTAL /DLL "Release\obj\libvips-cpp\VError.obj" "Release\obj\libvips-cpp\VInterpolate.obj" "Release\obj\libvips-cpp\VImage.obj" "Release\obj\libvips-cpp\win_delay_load_hook.obj" Creating library C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\Release\libvips-cpp.lib and object C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\Release\libvips-cpp.exp Generating code All 988 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. Finished generating code libvips-cpp.vcxproj -> C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\Release\\libvips-cpp.dll FinalizeBuildStatus: Deleting file "Release\obj\libvips-cpp\libvips-cpp.tlog\unsuccessfulbuild". Touching "Release\obj\libvips-cpp\libvips-cpp.tlog\libvips-cpp.lastbuildstate". Done Building Project "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\libvips-cpp.vcxproj" (default targets). Project "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\binding.sln" (1) is building "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\sharp.vcxproj.metaproj" (3) on node 1 (default targets). Project "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\sharp.vcxproj.metaproj" (3) is building "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\sharp.vcxproj" (4) on node 1 (default targets). PrepareForBuild: Creating directory "Release\obj\sharp\". Creating directory "Release\obj\sharp\sharp.tlog\". InitializeBuildStatus: Creating "Release\obj\sharp\sharp.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\CL.exe /c /I"C:\Users\lolmaus\.node-gyp\10.15.0\include\node" /I"C:\Users\lolmaus\.node-gyp\10.15.0\src" /I"C:\Users\lolmaus\.node-gyp\10.15.0\deps\openssl\config" /I"C:\Users\lolmaus\.node-gyp\10.15.0\deps\openssl\openssl\include" /I"C:\Users\lolmaus\.node-gyp\10.15.0\deps\uv\include" /I"C:\Users\lolmaus\.node-gyp\10.15.0\deps\zlib" /I"C:\Users\lolmaus\.node-gyp\10.15.0\deps\v8\include" /I..\..\..\..\nan /I..\vendor\include /I"..\vendor\include\glib-2.0" /I"..\vendor\lib\glib-2.0\include" /Z7 /nologo /W3 /WX- /diagnostics:classic /MP /Ox /Ob2 /Oi /Ot /Oy /GL /D NODE_GYP_MODULE_NAME=sharp /D USING_UV_SHARED=1 /D USING_V8_SHARED=1 /D V8_DEPRECATION_WARNINGS=1 /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HAS_EXCEPTIONS=0 /D _ALLOW_KEYWORD_MACROS /D BUILDING_NODE_EXTENSION /D _WINDLL /GF /Gm- /EHsc /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"Release\obj\sharp\\" /Fd"Release\obj\sharp\vc141.pdb" /Gd /TP /wd4351 /wd4355 /wd4800 /wd4251 /wd4275 /wd4244 /wd4267 /FC /errorReport:queue ..\src\common.cc ..\src\metadata.cc ..\src\stats.cc ..\src\operations.cc ..\src\pipeline.cc ..\src\sharp.cc ..\src\utilities.cc "C:\Users\lolmaus\AppData\Roaming\nvm\v10.15.0\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.cc" common.cc metadata.cc stats.cc operations.cc pipeline.cc sharp.cc utilities.cc win_delay_load_hook.cc Link: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\Release\sharp.node" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib DelayImp.lib "C:\Users\lolmaus\.node-gyp\10.15.0\x64\node.lib" ..\vendor\lib\libvips.lib "..\vendor\lib\libglib-2.0.lib" "..\vendor\lib\libgobject-2.0.lib" Delayimp.lib /DELAYLOAD:iojs.exe /DELAYLOAD:node.exe /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\Release\sharp.pdb" /MAP /MAPINFO:EXPORTS /OPT:REF /OPT:ICF /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X64 /ignore:4199 /LTCG:INCREMENTAL /DLL Release\obj\sharp\common.obj Release\obj\sharp\metadata.obj Release\obj\sharp\stats.obj Release\obj\sharp\operations.obj Release\obj\sharp\pipeline.obj Release\obj\sharp\sharp.obj Release\obj\sharp\utilities.obj Release\obj\sharp\win_delay_load_hook.obj "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\Release\libvips-cpp.lib" Creating library C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\Release\sharp.lib and object C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\Release\sharp.exp Generating code All 1337 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. Finished generating code sharp.vcxproj -> C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\Release\\sharp.node FinalizeBuildStatus: Deleting file "Release\obj\sharp\sharp.tlog\unsuccessfulbuild". Touching "Release\obj\sharp\sharp.tlog\sharp.lastbuildstate". Done Building Project "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\sharp.vcxproj" (default targets). Done Building Project "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\sharp.vcxproj.metaproj" (default targets). Project "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\binding.sln" (1) is building "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\win_copy_dlls.vcxproj.metaproj" (5) on node 1 (default targets). Project "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\win_copy_dlls.vcxproj.metaproj" (5) is building "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\win_copy_dlls.vcxproj" (6) on node 1 (default targets). PrepareForBuild: Creating directory "Release\obj\win_copy_dlls\". Creating directory "Release\obj\win_copy_dlls\win_copy_dlls.tlog\". InitializeBuildStatus: Creating "Release\obj\win_copy_dlls\win_copy_dlls.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. CustomBuild: Copying vendor/lib/libcroco-0.6-3.dll to build/Release\libcroco-0.6-3.dll 1 file(s) copied. Copying vendor/lib/libfreetype-6.dll to build/Release\libfreetype-6.dll 1 file(s) copied. Copying vendor/lib/libcairo-2.dll to build/Release\libcairo-2.dll 1 file(s) copied. Copying vendor/lib/libexif-12.dll to build/Release\libexif-12.dll 1 file(s) copied. Copying vendor/lib/libgdk_pixbuf-2.0-0.dll to build/Release\libgdk_pixbuf-2.0-0.dll 1 file(s) copied. Copying vendor/lib/libpangoft2-1.0-0.dll to build/Release\libpangoft2-1.0-0.dll 1 file(s) copied. Copying vendor/lib/libtiff-5.dll to build/Release\libtiff-5.dll 1 file(s) copied. Copying vendor/lib/libgettextpo-1.dll to build/Release\libgettextpo-1.dll 1 file(s) copied. Copying vendor/lib/liblcms2-2.dll to build/Release\liblcms2-2.dll 1 file(s) copied. Copying vendor/lib/libcairo-gobject-2.dll to build/Release\libcairo-gobject-2.dll 1 file(s) copied. Copying vendor/lib/libgettextsrc-0-19-8.dll to build/Release\libgettextsrc-0-19-8.dll 1 file(s) copied. Copying vendor/lib/libgif-7.dll to build/Release\libgif-7.dll 1 file(s) copied. Copying vendor/lib/libxml2-2.dll to build/Release\libxml2-2.dll 1 file(s) copied. Copying vendor/lib/libiconv-2.dll to build/Release\libiconv-2.dll 1 file(s) copied. Copying vendor/lib/libjpeg-62.dll to build/Release\libjpeg-62.dll 1 file(s) copied. Copying vendor/lib/libglib-2.0-0.dll to build/Release\libglib-2.0-0.dll 1 file(s) copied. Copying vendor/lib/libfftw3-3.dll to build/Release\libfftw3-3.dll 1 file(s) copied. Copying vendor/lib/libcairo-script-interpreter-2.dll to build/Release\libcairo-script-interpreter-2.dll 1 file(s) copied. Copying vendor/lib/libgthread-2.0-0.dll to build/Release\libgthread-2.0-0.dll 1 file(s) copied. Copying vendor/lib/libfontconfig-1.dll to build/Release\libfontconfig-1.dll 1 file(s) copied. Copying vendor/lib/libintl-9.dll to build/Release\libintl-9.dll 1 file(s) copied. Copying vendor/lib/libgio-2.0-0.dll to build/Release\libgio-2.0-0.dll 1 file(s) copied. Copying vendor/lib/librsvg-2-2.dll to build/Release\librsvg-2-2.dll 1 file(s) copied. Copying vendor/lib/libgmodule-2.0-0.dll to build/Release\libgmodule-2.0-0.dll 1 file(s) copied. Copying vendor/lib/zlib1.dll to build/Release\zlib1.dll 1 file(s) copied. Copying vendor/lib/libstdc++-6.dll to build/Release\libstdc++-6.dll 1 file(s) copied. Copying vendor/lib/libharfbuzz-0.dll to build/Release\libharfbuzz-0.dll 1 file(s) copied. Copying vendor/lib/libasprintf-0.dll to build/Release\libasprintf-0.dll 1 file(s) copied. Copying vendor/lib/libgobject-2.0-0.dll to build/Release\libgobject-2.0-0.dll 1 file(s) copied. Copying vendor/lib/libwebp-7.dll to build/Release\libwebp-7.dll 1 file(s) copied. Copying vendor/lib/libgettextlib-0-19-8.dll to build/Release\libgettextlib-0-19-8.dll 1 file(s) copied. Copying vendor/lib/libgcc_s_seh-1.dll to build/Release\libgcc_s_seh-1.dll 1 file(s) copied. Copying vendor/lib/libquadmath-0.dll to build/Release\libquadmath-0.dll 1 file(s) copied. Copying vendor/lib/libpng16-16.dll to build/Release\libpng16-16.dll 1 file(s) copied. Copying vendor/lib/libpango-1.0-0.dll to build/Release\libpango-1.0-0.dll 1 file(s) copied. Copying vendor/lib/libpixman-1-0.dll to build/Release\libpixman-1-0.dll 1 file(s) copied. Copying vendor/lib/libcharset-1.dll to build/Release\libcharset-1.dll 1 file(s) copied. Copying vendor/lib/libpangocairo-1.0-0.dll to build/Release\libpangocairo-1.0-0.dll 1 file(s) copied. Copying vendor/lib/libvips-42.dll to build/Release\libvips-42.dll 1 file(s) copied. Copying vendor/lib/libgsf-1-114.dll to build/Release\libgsf-1-114.dll 1 file(s) copied. Copying vendor/lib/libpangowin32-1.0-0.dll to build/Release\libpangowin32-1.0-0.dll 1 file(s) copied. Copying vendor/lib/libffi-6.dll to build/Release\libffi-6.dll 1 file(s) copied. Copying vendor/lib/libexpat-1.dll to build/Release\libexpat-1.dll 1 file(s) copied. Copying vendor/lib/libssp-0.dll to build/Release\libssp-0.dll 1 file(s) copied. FinalizeBuildStatus: Deleting file "Release\obj\win_copy_dlls\win_copy_dlls.tlog\unsuccessfulbuild". Touching "Release\obj\win_copy_dlls\win_copy_dlls.tlog\win_copy_dlls.lastbuildstate". Done Building Project "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\win_copy_dlls.vcxproj" (default targets). Done Building Project "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\win_copy_dlls.vcxproj.metaproj" (default targets). Done Building Project "C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\build\binding.sln" (default targets). Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:07.43 gyp info ok npm verb lifecycle sharp@0.19.1~install: unsafe-perm in lifecycle true npm verb lifecycle sharp@0.19.1~install: PATH: C:\Users\lolmaus\AppData\Roaming\nvm\v10.15.0\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp\node_modules\.bin;C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\.bin;C:\Code\kaliber5\tlw\node_modules\.bin;C:\Users\lolmaus\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\lolmaus\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Python27;C:\Python27\Scripts;C:\program files\python3\scripts;C:\program files\python3;C:\program files (x86)\common files\oracle\java\javapath;C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\windows\system32\windowspowershell\v1.0;C:\program files\putty;C:\users\lolmaus\appdata\roaming\nvm;C:\windows\system32\openssh;C:\users\lolmaus\appdata\local\microsoft\windowsapps;C:\program files\oracle\virtualbox;C:\portable apps\sysinternalssuite;C:\portable apps\nirsoft_package_enc_1.20.39\nirsoft;C:\program files\docker toolbox;C:\users\lolmaus\appda;C:\program files (x86)\vagrant\bin;C:\program files\git\cmd;C:\program files\nvidia corporation\nvidia nvdlisr;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\nodejs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Users\lolmaus\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\Yarn\bin;C:\Program Files (x86)\Kensington\TrackballWorks;C:\Users\lolmaus\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Oracle\VirtualBox;C:\Portable Apps\SysinternalsSuite;C:\Portable Apps\nirsoft_package_enc_1.20.39\NirSoft;C:\Program Files\Docker Toolbox;C:\Program Files\Microsoft VS Code Insiders\bin;C:\Users\lolmaus\AppData\Local\Programs\Microsoft VS Code Insiders\bin;C:\Users\lolmaus\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\lolmaus\AppData\Roaming\npm;C:\Users\lolmaus\AppData\Local\Yarn\bin;C:\Users\lolmaus\AppData\Local\GitHubDesktop\bin;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl npm verb lifecycle sharp@0.19.1~install: CWD: C:\Code\kaliber5\tlw\node_modules\ember-lazy-responsive-image\node_modules\sharp npm timing audit submit Completed in 1461ms npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 1461ms npm timing audit body Completed in 1ms npm info lifecycle semver@6.1.1~install: semver@6.1.1 npm info lifecycle simple-get@3.0.3~install: simple-get@3.0.3 npm info lifecycle sharp@0.22.1~install: sharp@0.22.1 > sharp@0.22.1 install C:\Code\kaliber5\tlw\node_modules\sharp > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) info sharp Using cached C:\Users\lolmaus\AppData\Roaming\npm-cache\_libvips\libvips-8.7.4-win32-x64.tar.gz info sharp Creating C:\Code\kaliber5\tlw\node_modules\sharp\build\Release info sharp Copying DLLs from C:\Code\kaliber5\tlw\node_modules\sharp\vendor\lib to C:\Code\kaliber5\tlw\node_modules\sharp\build\Release prebuild-install info begin Prebuild-install version 5.3.0 prebuild-install info looking for cached prebuild @ C:\Users\lolmaus\AppData\Roaming\npm-cache\_prebuilds\6fb2d2-sharp-v0.22.1-node-v64-win32-x64.tar.gz prebuild-install info found cached prebuild prebuild-install info unpacking @ C:\Users\lolmaus\AppData\Roaming\npm-cache\_prebuilds\6fb2d2-sharp-v0.22.1-node-v64-win32-x64.tar.gz prebuild-install info unpack resolved to C:\Code\kaliber5\tlw\node_modules\sharp\build\Release\sharp.node prebuild-install info unpack required C:\Code\kaliber5\tlw\node_modules\sharp\build\Release\sharp.node successfully prebuild-install info install Successfully installed prebuilt binary! npm verb lifecycle sharp@0.22.1~install: unsafe-perm in lifecycle true npm verb lifecycle sharp@0.22.1~install: PATH: C:\Users\lolmaus\AppData\Roaming\nvm\v10.15.0\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Code\kaliber5\tlw\node_modules\sharp\node_modules\.bin;C:\Code\kaliber5\tlw\node_modules\.bin;C:\Users\lolmaus\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\lolmaus\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Python27;C:\Python27\Scripts;C:\program files\python3\scripts;C:\program files\python3;C:\program files (x86)\common files\oracle\java\javapath;C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\windows\system32\windowspowershell\v1.0;C:\program files\putty;C:\users\lolmaus\appdata\roaming\nvm;C:\windows\system32\openssh;C:\users\lolmaus\appdata\local\microsoft\windowsapps;C:\program files\oracle\virtualbox;C:\portable apps\sysinternalssuite;C:\portable apps\nirsoft_package_enc_1.20.39\nirsoft;C:\program files\docker toolbox;C:\users\lolmaus\appda;C:\program files (x86)\vagrant\bin;C:\program files\git\cmd;C:\program files\nvidia corporation\nvidia nvdlisr;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Program Files\nodejs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Users\lolmaus\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\Yarn\bin;C:\Program Files (x86)\Kensington\TrackballWorks;C:\Users\lolmaus\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Oracle\VirtualBox;C:\Portable Apps\SysinternalsSuite;C:\Portable Apps\nirsoft_package_enc_1.20.39\NirSoft;C:\Program Files\Docker Toolbox;C:\Program Files\Microsoft VS Code Insiders\bin;C:\Users\lolmaus\AppData\Local\Programs\Microsoft VS Code Insiders\bin;C:\Users\lolmaus\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\lolmaus\AppData\Roaming\npm;C:\Users\lolmaus\AppData\Local\Yarn\bin;C:\Users\lolmaus\AppData\Local\GitHubDesktop\bin;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl npm verb lifecycle sharp@0.22.1~install: CWD: C:\Code\kaliber5\tlw\node_modules\sharp npm timing action:install Completed in 19017ms npm info lifecycle yallist@3.0.3~postinstall: yallist@3.0.3 npm info lifecycle tar@4.4.10~postinstall: tar@4.4.10 npm info lifecycle sharp@0.19.1~postinstall: sharp@0.19.1 npm info lifecycle semver@6.1.1~postinstall: semver@6.1.1 npm info lifecycle simple-get@3.0.3~postinstall: simple-get@3.0.3 npm info lifecycle sharp@0.22.1~postinstall: sharp@0.22.1 npm timing action:postinstall Completed in 2ms npm verb unlock done using C:\Users\lolmaus\AppData\Roaming\npm-cache\_locks\staging-c3217941e40dc89f.lock for C:\Code\kaliber5\tlw\node_modules\.staging npm timing stage:executeActions Completed in 20066ms npm timing stage:rollbackFailedOptional Completed in 180ms npm timing stage:runTopLevelLifecycles Completed in 43256ms npm verb saving [ { name: 'sharp', spec: '^0.22.1', save: 'dependencies' } ] npm info lifecycle undefined~preshrinkwrap: undefined npm info lifecycle undefined~shrinkwrap: undefined npm info lifecycle undefined~postshrinkwrap: undefined npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN gulp-jshint@2.1.0 requires a peer of jshint@2.x but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm verb notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin npm verb notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any npm verb notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: win32 npm verb notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64 + sharp@0.22.1 added 5 packages from 43 contributors, updated 1 package and audited 412070 packages in 46.965s found 54 vulnerabilities (17 low, 24 moderate, 12 high, 1 critical) run `npm audit fix` to fix them, or `npm audit` for details npm verb exit [ 0, true ] npm timing npm Completed in 47352ms npm info ok ```

What is the output of running `npx envinfo --binaries --languages --system --utilities`? ``` $ npx envinfo --binaries --languages --system --utilities npx: installed 1 in 1.896s System: OS: Windows 10 CPU: (16) x64 AMD Ryzen 7 2700X Eight-Core Processor Memory: 41.37 GB / 63.95 GB Binaries: Node: 10.15.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.15.2 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD Languages: Bash: 4.4.19 - C:\Program Files\Git\usr\bin\bash.EXE Perl: 5.26.2 - C:\Program Files\Git\usr\bin\perl.EXE Python: 2.7.16 - C:\Python27\python.EXE ```

Have you ensured the platform and version of Node.js used for npm install is the same as the platform and version of Node.js used at runtime?

Yes. I have only one.

lolmaus commented 5 years ago

My npm is 64-bit:

$ node -p "process.arch"
x64
lovell commented 5 years ago

Hi, it looks like you're using sharp v0.19.1. Is there a reason you're unable to upgrade to the latest, currently v0.22.1?

lolmaus commented 5 years ago

Upgrading to the latest version resolved my issue.

Thank you so much, @lovell! 🙇

anhnt-mageplaza commented 3 years ago

For anyone who encounter this in windows 10 in 2021, then switch back to v0.22.1, "sharp": "0.22.1", will fix the issue. It seems like the latest issue has got some compatible issues with Windows.

lovell commented 3 years ago

@anhnt-mageplaza Please ensure you're not mixing different versions of sharp in the same dependency tree. Run npm ls sharp to help reveal a mismatch, if any.

stevemarksd commented 2 years ago

having this issue with 0.31.2 on win 10. Looks like a sub dependency was installing another version: 0.29.3

@lovell how to deal with deps that require another version?

lovell commented 2 years ago

@stevemarksd If you're able, please submit PRs to any dependencies you find that are relying on out-of-date versions of sharp.