第一次使用本機反應。當我運行 npm start 并打開 localhost 時,它顯示“發生意外錯誤”。如果我在 Expo 應用程式中掃描 QR 碼,它會顯示“出現問題。網路回應超時”。
當我打開控制臺時,會出現

我將應用程式創建為:
npm install -g expo-cli
expo init MyApp
Selected the typescript template
And then at the MyApp folder npm start
uj5u.com熱心網友回復:
可能是因為新版本的 [email protected]
卸載新版本并安裝 5.4.7
對于 npm:
npm -g uninstall expo-cli
npm -g install [email protected]
對于紗線:
yarn global remove expo-cli
yarn global add [email protected]
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/494069.html
