MD101s-MacBook-Pro:screen mirror applemd101$ node -v
v8.16.0
MD101s-MacBook-Pro:screen mirror applemd101$ npm -v
6.14.5
MD101s-MacBook-Pro:screen mirror applemd101$ brew install node
Updating Homebrew…
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
earthly ffuf glooctl mockserver rust-analyzer scipy
Warning: node 14.5.0 is already installed, it’s just not linked
You can use brew link node
to link this version.
MD101s-MacBook-Pro:screen mirror applemd101$ npm i -g npm
/Users/applemd101/.npm-packages/lib/node_modules/node/bin/npm → /Users/applemd101/.npm-packages/lib/node_modules/node/lib/node_modules/npm/bin/npm-cli.js
/Users/applemd101/.npm-packages/lib/node_modules/node/bin/npx → /Users/applemd101/.npm-packages/lib/node_modules/node/lib/node_modules/npm/bin/npx-cli.js
- [email protected]
updated 1 package in 16.559s
MD101s-MacBook-Pro:screen mirror applemd101$
MD101s-MacBook-Pro:screen mirror applemd101$
MD101s-MacBook-Pro:screen mirror applemd101$ npm install -g appium
⸨ ░░░░░░░░░░⸩ ⠼ extract:zip-stream: sill tarball trying [email protected] by hash: sha512-Z9yri56Dih8IaK8
⸨ ░░░░░░░░░░⸩ ⠦ extract:@wdio/config: sill extract [email protected] extracted to /Users/applemd101/.npm
/Users/applemd101/.npm-packages/lib/node_modules/node/bin/appium → /Users/applemd101/.npm-packages/lib/node_modules/node/lib/node_modules/appium/build/lib/main.js
/Users/applemd101/.npm-packages/lib/node_modules/node/bin/authorize-ios → /Users/applemd101/.npm-packages/lib/node_modules/node/lib/node_modules/appium/node_modules/.bin/authorize-ios
[email protected] install /Users/applemd101/.npm-packages/lib/node_modules/node/lib/node_modules/appium/node_modules/appium-windows-driver
node install-npm.js
/Users/applemd101/.npm-packages/lib/node_modules/node/lib/node_modules/appium/node_modules/bluebird/js/release/promisify.js:270
throw new TypeError("expecting a function but got " + util.classString(fn));
^
TypeError: expecting a function but got [object Undefined]
at Function.promisify (/Users/applemd101/.npm-packages/lib/node_modules/node/lib/node_modules/appium/node_modules/bluebird/js/release/promisify.js:270:15)
at Object. (/Users/applemd101/.npm-packages/lib/node_modules/node/lib/node_modules/appium/node_modules/appium-support/lib/zip.js:17:20)
at Module._compile (module.js:653:30)
at Object.Module._extensions…js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/Users/applemd101/.npm-packages/lib/node_modules/node/lib/node_modules/appium/node_modules/appium-support/index.js:10:1)
at Module._compile (module.js:653:30)
at Object.Module._extensions…js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node install-npm.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/applemd101/.npm/_logs/2020-07-24T06_58_46_416Z-debug.log