【发布时间】:2021-09-11 06:07:40
【问题描述】:
我想使用 expo 创建 react native 项目 但是失败了....有人知道如何解决吗???
request to https://registry.npmjs.org/expo-template-blank failed, reason: connect ETIMEDOUT 104.16.16.35:443
但使用 react-native-cli 对我有用,不适用于 expo...
展会初始化应用
Choose a template: » blank a minimal app as clean as an empty canvas
request to https://registry.npmjs.org/expo-template-blank failed, reason: connect ETIMEDOUT 104.16.19.35:443
FetchError: request to https://registry.npmjs.org/expo-template-blank failed, reason: connect ETIMEDOUT 104.16.19.35:443
at ClientRequest.<anonymous> (C:\Users\Me\AppData\Roaming\npm\node_modules\expo-cli\node_modules\minipass-fetch\lib\index.js:97:14)
at ClientRequest.emit (events.js:315:20)
at TLSSocket.socketErrorListener (_http_client.js:469:9)
at TLSSocket.emit (events.js:327:22)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
【问题讨论】:
-
我尝试运行“npm config delete proxy”,但还是不行,谢谢
标签: react-native frontend expo