reactjs - 运行 npm start 命令时发生错误?
问题描述
包.json
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
...
"expo": "^1.0.0",
"expo-image-picker": "~10.1.4",
"expo-location": "~12.0.4",
"expo-permissions": "~12.0.1",
"expo-status-bar": "~1.0.4",
...
}
运行时expo start
,它会产生错误。
这些是我面临的问题,请帮助我。谢谢你。:)
解决方案
尝试运行这些命令。
npm install
npm run start
推荐阅读
- docker - 启用在 docker 镜像中调用 webhook
- java - 字符串中单词之间额外空格的正则表达式条件
- php - 如何编写多个 .htaccess 重写规则?
- c++ - 在消息映射中创建按钮和引用
- javascript - 同位素 - jQuery - 内容更改后图像相互堆叠
- android-studio - Android Studio 3.3 中缺少 Instant Run
- python-2.7 - 从 dataset.variable 返回的 OrderedDict()
- eiffel - 埃菲尔:参考其他类常量设置常量
- laravel - 雄辩的独特选择 laravel
- apache-kudu - 如何使用 Apache Kudu 获取一系列行(例如第 1000~2000 行)?