No appium-doctor with appium 1.5.2 (MacOS)

Today I upgraded on MacOS my appium installation to 1.5.2 (dmg-version, it was offered by the programm).
But now I can’t run the appium-doctor.

'/Applications/Appium.app/Contents/Resources/node/bin/node' '/Applications/Appium.app/Contents/Resources/node_modules/appium/bin/appium-doctor.js'
mac:~ user$ '/Applications/Appium.app/Contents/Resources/node/bin/node' '/Applications/Appium.app/Contents/Resources/node_modules/appium/bin/appium-doctor.js'
module.js:341
    throw err;
    ^

Error: Cannot find module '/Applications/Appium.app/Contents/Resources/node_modules/appium/bin/appium-doctor.js'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:146:18)
    at node.js:404:3

Indeed, that file is missing. Also there was no authorization-request on first start, maybe there is also a missing js-File?
I can’t use appium at the moment…

thanks in advance
schmonk

1 Like

I’m having the same problem too. Appium Doctor doesn’t work and now I can’t launch the Appium Inspector either. I had just got Appium configured 2 days ago, and I thought the upgrade would be wise since the previous dmg was about 6 months old. Mistake :frowning:

1 Like

I reinstalled Appium by Console (scroll down on http://appium.io/)

brew install node # get node.js
npm install -g appium # get appium
npm install wd # get appium Client

After that, i authorized for iOS-Simulator by console, too:

sudo $(npm bin)/authorize-ios

see: https://github.com/appium/appium/blob/master/docs/en/appium-setup/running-on-osx.md#authorizing-ios-on-the-computer

And now the Gui works fine, too. So i can use the inspector. But Appium-doctor still doesn’t work.

@Leppo: I hope that helps!

I have the same problem. Trying to reinstall appium-doctor with npm install -g appium-doctor but got an error

npm ERR! not a package /usr/local/bin/appium-doctor
npm ERR! addLocal Could not install /usr/local/bin/appium-doctor
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "appium-doctor"
npm ERR! node v0.12.7
npm ERR! npm  v2.12.1
npm ERR! path /var/folders/rl/03cf2qbx33gf9zd2rv5t3fhst406fx/T/npm-18426-bea7d12a/unpack-705086f814b7/package.json
npm ERR! code ENOENT
npm ERR! errno -2

npm ERR! enoent ENOENT, open '/var/folders/rl/03cf2qbx33gf9zd2rv5t3fhst406fx/T/npm-18426-bea7d12a/unpack-705086f814b7/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/local/bin/npm-debug.log

Any ideas?
Thanks.

1 Like

I logged a bug with the Git project, you can see it here: https://github.com/appium/appium-dot-app/issues/552 It appears it’s already been fixed and will be available in the next version.

If you hit a genuine bug in Appium server or Appium.app the best thing to do is log a bug report against the respective Git project. This forum is a user help forum, the dev teams don’t necessarily watch the forum for bug reports.