jugshaurya / merge-videos

😁😁 Merge Videos inside a directory into a single video :) Doesn't matter how deep are they hidden.
MIT License
7 stars 2 forks source link

gyp ERR! not ok #7

Open finalcreator opened 2 years ago

finalcreator commented 2 years ago

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);


                                     remove_cv
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:710:50: note: 'remove_cv' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_cv
                                                 ^
1 error generated.
make: *** [Release/obj.target/sharp/src/common.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/xxxxxx/.nvm/versions/node/v16.13.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Darwin 21.2.0
gyp ERR! command "/Users/xxxxxx/.nvm/versions/node/v16.13.2/bin/node" "/Users/xxxxxx/.nvm/versions/node/v16.13.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/xxxxxx/Tools/merge-videos/node_modules/sharp
gyp ERR! node -v v16.13.2
gyp ERR! node-gyp -v v8.3.0
gyp ERR! not ok
jugshaurya commented 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.