安装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 fsevents@1.0.12: 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 中的高阶组件主要是对于 hooks 之前的类组件来说的,如...
我们上一节了解了组件的更新机制,但是只是停留在表层上,例...
我们上一节了解了 react 的虚拟 dom 的格式,如何把虚拟 dom...
react 本身提供了克隆组件的方法,但是平时开发中可能很少使...
mobx 是一个简单可扩展的状态管理库,中文官网链接。小编在接...
我们在平常的开发中不可避免的会有很多列表渲染逻辑,在 pc ...