Visual studio 安装expo cli windows时出错

Visual studio 安装expo cli windows时出错,visual-studio,npm,expo,Visual Studio,Npm,Expo,我尝试使用npm从windows安装Expo cli,但出现错误 这是我的密码 npm install -g expo-cli 这就是我得到的错误 PS E:\Code\LearnReactNative> npm install -g expo-cli npm WARN deprecated @hapi/joi@17.1.1: Switch to 'npm install joi' npm WARN deprecated @hapi/pinpoint@2.0.0: Moved to

我尝试使用npm从windows安装Expo cli,但出现错误

这是我的密码

npm install -g expo-cli
这就是我得到的错误

PS E:\Code\LearnReactNative> npm install -g expo-cli   
npm WARN deprecated @hapi/joi@17.1.1: Switch to 'npm install joi'
npm WARN deprecated @hapi/pinpoint@2.0.0: Moved to 'npm install @sideway/pinpoint'
npm WARN deprecated @hapi/address@4.1.0: Moved to 'npm install @sideway/address'
npm WARN deprecated @hapi/formula@2.0.0: Moved to 'npm install @sideway/formula'
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Riky\AppData\Roaming\npm-cache\_logs\2021-04-12T13_33_17_039Z-debug.log
PS E:\code\LearnReactNative>npm安装-g expo cli
npm警告已弃用@hapi/joi@17.1.1:切换到“npm安装作业”
npm警告已弃用@hapi/pinpoint@2.0.0:移动到“npm安装@sideway/pinpoint”
npm警告已弃用@hapi/address@4.1.0:移动到“npm安装@sideway/address”
npm警告已弃用@hapi/formula@2.0.0:移动到“npm安装@sideway/formula”
npm警告弃用的内核-js@2.6.12:core js@尝试以下命令:-

npm cache clean --f
npm install -g expo-cli

不要使用VS代码安装它。。在此位置打开PowerShell
E:\code\LearnReactNative
,然后运行
npm安装-g expo cli
,确保没有其他
teminal
PowerShell
在后台打开