安装npm install app-inspector -g 提示错误

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\app-inspector\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN react-syntax-highlighter@7.0.4 requires a peer of react@>= 0.14.0 but none was installed.
npm ERR! path C:\Users\yunling\AppData\Roaming\npm\node_modules\app-inspector\node_modules\any-promise
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access 'C:\Users\yunling\AppData\Roaming\npm\node_modules\app-inspector\node_modules\any-promise'
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! A complete log of this run can be found in:
npm ERR!     F:\Appium\node-cache\_logs\2019-05-15T02_44_41_432Z-debug.log

猜你喜欢

转载自www.cnblogs.com/wysk/p/10868216.html