Hello, I am bumping into an error upon installing appium 1.9.1 on node 10.13.0 (dubnium), on macos 10.14.1
I was previously using node 8.9.0 and appium 1.9.1 without any issue.
I have searched for solutions online but could not find any solution yet.
I am rather clueless about the error, so any clue or suggestion is more than welcome.
Here is the error:
npm i -g appium@1.9.1
/Users/kevin.roulleau/.nvm/versions/node/v10.13.0/bin/appium -> /Users/kevin.roulleau/.nvm/versions/node/v10.13.0/lib/node_modules/appium/build/lib/main.js
> heapdump@0.3.9 install /Users/kevin.roulleau/.nvm/versions/node/v10.13.0/lib/node_modules/appium/node_modules/heapdump
> node-gyp rebuild
CXX(target) Release/obj.target/addon/src/heapdump.o
In file included from ../src/heapdump.cc:15:
In file included from /Users/kevin.roulleau/.node-gyp/10.13.0/include/node/node.h:63:
In file included from /Users/kevin.roulleau/.node-gyp/10.13.0/include/node/v8.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:657:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/utility:202:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstring:61:
/usr/local/include/string.h:25:10: fatal error: 'plist/Node.h' file not found
#include <plist/Node.h>
^~~~~~~~~~~~~~
1 error generated.
make: *** [Release/obj.target/addon/src/heapdump.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/kevin.roulleau/.nvm/versions/node/v10.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command "/Users/kevin.roulleau/.nvm/versions/node/v10.13.0/bin/node" "/Users/kevin.roulleau/.nvm/versions/node/v10.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/kevin.roulleau/.nvm/versions/node/v10.13.0/lib/node_modules/appium/node_modules/heapdump
gyp ERR! node -v v10.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: heapdump@0.3.9 (node_modules/appium/node_modules/heapdump):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: heapdump@0.3.9 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ appium@1.9.1
updated 1 package in 4.769s
Thanks !