React Native STUCK 启动打包器 [英] React Native STUCK starting packager

查看:68
本文介绍了React Native STUCK 启动打包器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于某种原因,当我想启动我的 React Native 项目时,它卡在了启动打包程序..."部分.我试图删除节点包,然后重新安装它们,通过纱线、npm 安装它们,但没有运气.我不知道该怎么解决这个问题:/(太尴尬了)

For some reason when I want to start my React Native project, it's stucks at 'Starting Packager...' part. I tried to delete the node packages, and reinstall them, intall them via yarn, npm, but no luck. I got no idea how should I fix this :/ (so awkward)

推荐答案

我遇到了同样的问题.我通过将 react-native-scripts 版本从^1.14.1"更改为1.14.0"并再次运行 npm install 来解决它.

I had the same issue. I solved it by changing react-native-scripts version from "^1.14.1" to "1.14.0" and run npm install again.

这篇关于React Native STUCK 启动打包器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆