npm get registry  // 获取本地镜像源

npm set registry http://47.99.200.213:4873  // 设置本地镜像源

 

 

npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget 
npm ERR! notarget It was specified as a dependency of 'chemi2'
npm ERR! notarget 
npm WARN tar ENOENT: no such file or directory, open '/Users/wanmeizty/Desktop/work/chemi2/node_modules/.staging/react-native-device-info-85018b78/RNDeviceInfo.podspec'
npm WARN tar ENOENT: no such file or directory, open '/Users/wanmeizty/Desktop/work/chemi2/node_modules/.staging/react-native-video-player-9e68ee0c/.editorconfig'

 

 

设置React native 本地镜像源

相关文章: