在MacOS上使用npm进行Appium安装失败

时间:2020-11-09 09:01:20

标签: macos npm appium npm-install

运行npm install -g appium时,安装失败并显示以下日志:

npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /usr/local/Cellar/node/15.1.0/lib/node_modules/appium/build/lib/main.js
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/Cellar/node/15.1.0/lib/node_modules/appium/build/lib/main.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/lgn/.npm/_logs/2020-11-09T08_33_15_328Z-debug.log

0 个答案:

没有答案