【发布时间】:2017-09-25 11:03:10
【问题描述】:
尝试使用 create-react-native-app 并在这里遇到第一个障碍。
我认为问题出在 Yarn 尝试安装依赖项时:
yarn install v0.27.5
[1/4] Resolving packages...
warning react-native > connect@2.30.2: connect 2.x series is deprecated
error An unexpected error occurred: "https://raw.githubusercontent.com/expo/node-websql/e364fa65146a9e2157a19e5c719e7702c2b6b87a/package.json: connect ETIMEDOUT 90.207.238.183:443".
info If you think this is a bug, please open a bug report with the information provided in "D:\\users\\jamie\\WebstormProjects\\hang\\hang-app\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
安装失败
奇怪的是我上周在这台机器上运行了 create-react-native-app 来测试它,一切都很好。
有人知道这里会发生什么吗?
【问题讨论】:
标签: reactjs react-native yarnpkg