安装f8app react-native项目时 nmp install 出错

1.错误1


npm ERR! Windows_NT 6.1.7601

npm ERR! argv "D:\\nodejs\\node.exe" "D:\\nodejs\\node_modules\\npm\\bin\\npm-cl
i.js" "install"
npm ERR! node v6.9.2
npm ERR! npm v3.10.9
npm ERR! code EBAdplATFORM


npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin",
"arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64


npm ERR! Please include the following file with any support request:

npm ERR! D:\rnworkspace\f8app\npm-debug.log

2错误2


npm WARN retry will retry,error on last attempt: Error: tunneling socket Could
not be established,cause=getaddrinfo ENOTFOUND server server:80
npm ERR! fetch Failed https://registry.npmjs.org/yeoman-welcome/-/yeoman-welcome
-1.0.1.tgz

3解决

相关文章

一、前言 在组件方面react和Vue一样的,核心思想玩的就是组件...
前言: 前段时间学习完react后,刚好就接到公司一个react项目...
前言: 最近收到组长通知我们项目组后面新开的项目准备统一技...
react 中的高阶组件主要是对于 hooks 之前的类组件来说的,如...
我们上一节了解了组件的更新机制,但是只是停留在表层上,例...
我们上一节了解了 react 的虚拟 dom 的格式,如何把虚拟 dom...