更新时间:2022-12-08 09:19:54
我能够通过安装NPM 6(在撰写本文时为6.14.9)来解决此问题.
I was able to solve this by installing the NPM 6 (6.14.9 as of this writing)
npm i -g npm@6
npm i -g appium
如果您想锁定特定版本的npm而不是最新版本,那么应该可以将其安装到应安装的版本
If you want to lock into a particular version of npm instead of latest then this should get you to a version that should install it
npm i -g npm@6.14.9