Open finalcreator opened 2 years ago
@finalcreator, sorry I am not able to understand the problem. Can you please elaborate on what have you done/steps followed to get this error? Also please read the readme once, it has all the steps mentioned.
I think you are trying to install yarn globally. Please do
npm install --global yarn
yarn --version
and then try to follow the readme.
yarn install v1.22.17 [1/4] π Resolving packages... [2/4] π Fetching packages... [3/4] π Linking dependencies... [4/4] π¨ Building fresh packages... [1/2] β gl error /Users/xxxxxx/Tools/merge-videos/node_modules/sharp: Command failed. Exit code: 1 Command: (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) Arguments: Directory: /Users/xxxxxx/Tools/merge-videos/node_modules/sharp Output: info sharp Using cached /Users/xxxxxx/.npm/_libvips/libvips-8.9.0-darwin-x64.tar.gz prebuild-install WARN install No prebuilt binaries found (target=16.13.2 runtime=node arch=x64 libc= platform=darwin) gyp info it worked if it ends with ok gyp info using node-gyp@8.3.0 gyp info using node@16.13.2 | darwin | x64 gyp info find Python using Python version 3.9.10 found at "/usr/local/opt/python@3.9/bin/python3.9" gyp info spawn /usr/local/opt/python@3.9/bin/python3.9 gyp info spawn args [ gyp info spawn args '/Users/xxxxxx/.nvm/versions/node/v16.13.2/lib/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 'make', gyp info spawn args '-I', gyp info spawn args '/Users/xxxxxx/Tools/merge-videos/node_modules/sharp/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/xxxxxx/.nvm/versions/node/v16.13.2/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/xxxxxx/Library/Caches/node-gyp/16.13.2/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/Users/xxxxxx/Library/Caches/node-gyp/16.13.2', gyp info spawn args '-Dnode_gyp_dir=/Users/xxxxxx/.nvm/versions/node/v16.13.2/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/xxxxxx/Library/Caches/node-gyp/16.13.2/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/xxxxxx/Tools/merge-videos/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 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] TOUCH Release/obj.target/libvips-cpp.stamp CXX(target) Release/obj.target/sharp/src/common.o In file included from ../src/common.cc:22: In file included from /Users/xxxxxx/Library/Caches/node-gyp/16.13.2/include/node/node.h:63: In file included from /Users/xxxxxx/Library/Caches/node-gyp/16.13.2/include/node/v8.h:30: /Users/xxxxxx/Library/Caches/node-gyp/16.13.2/include/node/v8-internal.h:492:38: error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'? !std::is_same<Data, std::remove_cv_t>::value>::Perform(data);