Skip to content

Instantly share code, notes, and snippets.

@vikramvi
Created October 29, 2018 10:30
Show Gist options
  • Save vikramvi/8cefb005fdfcaaa70e368ff0833004f0 to your computer and use it in GitHub Desktop.
Save vikramvi/8cefb005fdfcaaa70e368ff0833004f0 to your computer and use it in GitHub Desktop.
node version 10 appium installation erros
npm install -g appium
/usr/local/bin/appium -> /usr/local/lib/node_modules/appium/build/lib/main.js
> appium-chromedriver@4.5.0 install /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver
> node install-npm.js
[11:29:13] [Chromedriver Install] Installing Chromedriver version '2.42' for platform 'mac' and architecture '64'
[11:29:13] [Chromedriver Install] Opening temp file to write 'chromedriver_mac64' to...
[11:29:13] [Chromedriver Install] Opened temp file '/var/folders/s5/s4vmm8jx3fqgt9s1tnn_0_v40000gn/T/2018929-16861-jjiix1.7hyx/chromedriver_mac64.zip'
[11:29:13] [Chromedriver Install] Downloading https://chromedriver.storage.googleapis.com/2.42/chromedriver_mac64.zip...
[11:29:17] [Chromedriver Install] Writing binary content to /var/folders/s5/s4vmm8jx3fqgt9s1tnn_0_v40000gn/T/2018929-16861-jjiix1.7hyx/chromedriver_mac64.zip...
[11:29:17] [Chromedriver Install] Extracting /var/folders/s5/s4vmm8jx3fqgt9s1tnn_0_v40000gn/T/2018929-16861-jjiix1.7hyx/chromedriver_mac64.zip to /var/folders/s5/s4vmm8jx3fqgt9s1tnn_0_v40000gn/T/2018929-16861-jjiix1.7hyx/chromedriver_mac64
[11:29:17] [Chromedriver Install] Creating /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac...
[11:29:17] [Chromedriver Install] Copying unzipped binary, reading from /var/folders/s5/s4vmm8jx3fqgt9s1tnn_0_v40000gn/T/2018929-16861-jjiix1.7hyx/chromedriver_mac64/chromedriver...
[11:29:18] [Chromedriver Install] Writing to /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver...
[11:29:18] [Chromedriver Install] /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver successfully put in place
> appium-selendroid-driver@1.12.0 install /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver
> node ./bin/install.js
[11:29:19] Java version 1.8.0_144 found
[11:29:19] Ensuring /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download exists
[11:29:19] Downloading Selendroid standalone server version 0.17.0 from http://repo1.maven.org/maven2/io/selendroid/selendroid-standalone/0.17.0/selendroid-standalone-0.17.0-with-dependencies.jar --> /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download/selendroid-server-7cf7163ac47f1c46eff95b62f78b58c1dabdec534acc6632da3784739f6e9d82.jar
[11:29:29] Writing binary content to /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download/selendroid-server.jar.tmp
[11:29:29] Selendroid standalone server downloaded
[11:29:29] Determining AndroidManifest location
[11:29:30] Determining server apk location
[11:29:30] Extracting manifest and apk to /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download
[11:29:30] Copying manifest and apk to /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid
[11:29:30] Cleaning up temp files
[11:29:30] Fixing AndroidManifest icon bug
> appium-windows-driver@1.4.0 install /usr/local/lib/node_modules/appium/node_modules/appium-windows-driver
> node install-npm.js
Not installing WinAppDriver since did not detect a Windows system
> fsevents@1.2.4 install /usr/local/lib/node_modules/appium/node_modules/fsevents
> node install
[fsevents] Success: "/usr/local/lib/node_modules/appium/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
> heapdump@0.3.9 install /usr/local/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:17:
../src/compat-inl.h:300:19: warning: 'GetCpuProfiler' is deprecated [-Wdeprecated-declarations]
return isolate->GetCpuProfiler()->StartProfiling(title, record_samples);
^
/Users/vikramanna/.node-gyp/10.12.0/include/node/v8.h:7484:3: note: 'GetCpuProfiler' has been explicitly marked deprecated here
V8_DEPRECATED("CpuProfiler should be created with CpuProfiler::New call.",
^
/Users/vikramanna/.node-gyp/10.12.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
In file included from ../src/heapdump.cc:17:
../src/compat-inl.h:310:19: warning: 'GetCpuProfiler' is deprecated [-Wdeprecated-declarations]
return isolate->GetCpuProfiler()->StopProfiling(title);
^
/Users/vikramanna/.node-gyp/10.12.0/include/node/v8.h:7484:3: note: 'GetCpuProfiler' has been explicitly marked deprecated here
V8_DEPRECATED("CpuProfiler should be created with CpuProfiler::New call.",
^
/Users/vikramanna/.node-gyp/10.12.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
../src/heapdump.cc:106:23: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
String::Utf8Value filename_string(args[0]);
^
/Users/vikramanna/.node-gyp/10.12.0/include/node/v8.h:2891:5: note: 'Utf8Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
/Users/vikramanna/.node-gyp/10.12.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
../src/heapdump.cc:143:9: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), callback,
^
/Users/vikramanna/.node-gyp/10.12.0/include/node/node.h:175:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/vikramanna/.node-gyp/10.12.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
../src/heapdump.cc:157:44: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations]
PlatformInit(args.GetIsolate(), args[0]->Int32Value());
^
/Users/vikramanna/.node-gyp/10.12.0/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/Users/vikramanna/.node-gyp/10.12.0/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
5 warnings generated.
SOLINK_MODULE(target) Release/addon.node
+ appium@1.9.1
added 592 packages from 434 contributors in 55.007s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment