本文介绍了npm install -g expo-cli失败,并显示"EPERM:不允许操作,取消链接'... \ adb.exe"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在运行时收到错误消息

I receive an error when running

$ npm install -g expo-cli

我尝试以管理员身份重新安装节点模块,但发生相同的错误.

I have tried reinstalling the node modules as An Administrator but the same error occurs.

环境:Windows 10,节点版本:10.15.3,NPM版本:6.9.0

Environment:Windows 10,Node Version: 10.15.3,NPM Version: 6.9.0

我希望安装会发生,但是会出现这样的错误:

I expect the install to happen but an error like this occurs:

推荐答案

从错误日志中浏览这一行,它说'C:\ Users \ Griseld \ AppData \ Roaming \ npm \ node_modules \ expo-cli \ node_modules.xdl.DELETE \ binaries \ windows \ adb \ adb.exe'npm ERR!

Go through this line from your error log, it says'C:\Users\Griseld\AppData\Roaming\npm\node_modules\expo-cli\node_modules.xdl.DELETE\binaries\windows\adb\adb.exe' npm ERR!

expo cli并不是仅仅因为您的adb仍在使用系统上先前安装的expo cli而安装.出现类似问题的时间不长...杀死进程adb.exe

the expo cli wasn't installing simply because your adb is still using the previously installed expo cli on your system.had similar issue not quite long...kill the process adb.exe

这篇关于npm install -g expo-cli失败,并显示"EPERM:不允许操作,取消链接'... \ adb.exe"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 02:56