Expo Developer Tools 与 Expo CLI 断开连接.使用 expo start 命令再次启动 CLI [英] Expo Developer Tools is disconnected from Expo CLI. Use the expo start command to start the CLI again
本文介绍了Expo Developer Tools 与 Expo CLI 断开连接.使用 expo start 命令再次启动 CLI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是 react-native 的新手,我安装了 expo,如下面的官方页面中所述.
i'm new to react-native i installed expo as mention in official page like below.
npm install expo-cli --global
expo init my-new-project
cd my-new-project
expo start(run this in my cmd)
在 cmd 中得到这个错误
[09:53:03] TypeError: Cannot read property 'compile' of undefined
[09:53:03] TypeError: Cannot read property 'compile' of undefined
npm start(i did this too)
在cmd中得到这个错误
[09:47:17] TypeError:无法读取未定义的属性编译"
[09:47:17] TypeError: Cannot read property 'compile' of undefined
我的浏览器出现此错误Expo 开发者工具已与 Expo CLI 断开连接.使用 expo start 命令再次启动 CLI.
推荐答案
有东西不见了,跟着跑
Something is missing, Run following
npm install
然后
expo start
这篇关于Expo Developer Tools 与 Expo CLI 断开连接.使用 expo start 命令再次启动 CLI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文