You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solved by changing MACOSX_DEPLOYMENT_TARGET from 10.7 to 10.9 in
Users/user/.node-gyp/6.5.0/include/node/common.gypi
Reacted by Chad, Antonio De Oliveira Junior, KevinWilliams89, richardpenner, Yevgeny Petukhov, TosOfficial, Seshadri Mahalingam, Hoseong Lee, Alexander Burkut, Lenny Markus and 22 more
Reacted by Anh Tran and Razvan Pop
Reacted by Anh Tran, Razvan Pop, Aleksei Pozdniakov and Kateryna Lopushanska
It works for me, Mac OS 10.14.1 (18B75), node version 6.11.3 (legacy project)
Reacted by Maksim, James Collins, Siriwat Wanghorm, Indrek, TC, Yojan Shrestha, Chip Camden, Reilly Hallstrom, remexllee, Marco Terrinoni and 36 more
Reacted by Towry Wang
Reacted by Nathan, Max Burger, Maksim, Degraeve Raphaël, Shahzaib Khalid, Wojtek Siudzinski, seiko, Yichao, drunya, Chip Camden and 19 more
Reacted by Nathan, Max Burger, Wojtek Siudzinski, seiko, Yojan Shrestha, Chip Camden, Marco Terrinoni, Henrique Rodrigues, Dimitri DO BAIRRO, anonymouskitler and 11 more
Activity
yerassyl94 commentedon Oct 12, 2018
Solved by changing MACOSX_DEPLOYMENT_TARGET from 10.7 to 10.9 in
Users/user/.node-gyp/6.5.0/include/node/common.gypi
alexventuraio commentedon Oct 16, 2018
@yerassyl94 how exactly did you solve this? Where do you change that variable?
refack commentedon Oct 16, 2018
Ohh you are both building with fairly old node versions...
Maybe post a PR to nodejs/node for the v6 branch?
yerassyl94 commentedon Oct 16, 2018
//.node-gyp/6.5.0/include/node/common.gypi
find this file in your MacOS
alexventuraio commentedon Oct 16, 2018
@yerassyl94 Thx I could fix this too!
refack commentedon Oct 16, 2018
FTR, possible workaround:
For users:
env CXXFLAGS="-mmacosx-version-min=10.9" npm installFor addon authors:
add this to your
bindings.gyp(but as mentioned above test)alexbaumgertner commentedon Nov 7, 2018
Try
https://stackoverflow.com/questions/52545166/node-6-node-gyp-rebuild-for-hiredis-fails-on-macos
It works for me, Mac OS 10.14.1 (18B75), node version 6.11.3 (legacy project)
Upgrade webdriverio / wdio-spec-reporter
megharajsh commentedon Jul 22, 2020
Thanks, This resolved the issue