I have issue with installing Appium 2 in MAC!
Here what I did:
I installed NPM
In Mac Terminal executed it:
~ % sudo npm install -g appium@next
BUT, unfortunately I got it:
`npm WARN deprecated [email protected] : Upgrade to typedoc >= 0.24 and remove typedoc-plugin-resolve-crossmodule-references from your dependencies
changed 422 packages in 42s
48 packages are looking for funding
run `npm fund` for details`
I tried to check if Appium anyway was been installed by command:
appium --version
and got it
zsh: command not found: appium
I really don’t know how I can install Appium 2 (I need second version) - thanks for help!
When I changed it to bash: I getting error: -bash: /Users/MyUserName: is a directory
Thanks for answer, but without SUDO, I getting error npm ERR! code EACCES
try reinstall again after switch terminal to bash
make sure you have /usr/local/bin
(or where npm usually puts global executables) present in PATH inside of your ~/.zshrc
It’s a same result as in zsh, also I need install it in zsh
/usr/local/bin
it presents in path, but same error I still getting!
Check your npm settings. Like I said it might be configured to put global executables into some other place.
wulfik
May 19, 2023, 10:51am
11
mykola-mokhnach:
put global executables
Amazing, I did it as you said and it helped, and now I succeeded run without SUDO
Like that:
npm install -g appium@next
But, anyway I getting it:
npm WARN deprecated [email protected] : Upgrade to typedoc >= 0.24 and remove typedoc-plugin-resolve-crossmodule-references from your dependencies
changed 422 packages in 4s
48 packages are looking for funding
run npm fund
for details
this is just a warning. Feel free to ignore it for now
wulfik
May 19, 2023, 12:36pm
13
Yep, but when I trying lunch Appium I getting it:
zsh: command not found: appium
what does npm -g bin
print on your system?
wulfik
May 19, 2023, 2:46pm
15
mykola-mokhnach:
npm -g bin
Unknown command: “bin”
To see a list of supported npm commands, run:
npm help
Make sure node.js and npm are up to date. Use at least v16 of Node.js and npm v8
wulfik
May 19, 2023, 4:32pm
17
mykola-mokhnach:
npm
I have:
npm: ‘9.6.4’,
Node.js v20.1.0
But same issue :((
do you have brew installed? check: brew doctor
for errors.
1185
June 8, 2023, 2:58pm
19
I have the same problem. Have you found a solution?
Same here i had same problem…