react-native - 如何进一步调试 cli react-native bundle 命令?命令挂起,没有错误
问题描述
我一直在使用 appcenter.ms 代码部署和命令:
appcenter codepush release-react -a <account>/<App> -d Production
此命令永远挂起并且永远不会完成,这是输出:
Loading dependency graph, done.
Loading dependency graph...info Writing bundle output to:, ./CodePush/main.jsbundle
info Done writing bundle output
info Copying 34 asset files
info Done copying assets
阅读他们的文档:https ://docs.microsoft.com/en-us/appcenter/distribution/codepush/cli 。我尝试在部署之前自己创建包,结果发现这个命令挂在哪里:
react-native bundle --platform ios --entry-file index.js --bundle-output ./CodePush/main.jsbundle --assets-dest ./CodePush
与上面相同的输出。
我有一种预感,它与我添加的 npm 模块有关,因为它最近在某个时候工作,但我不确定如何获取更多信息以进一步解决问题。任何帮助,将不胜感激。
解决方案
我错误地将 react-native-clean-project 安装为 npm 模块,一旦删除,一切都会再次按预期工作。由于缺少日志输出,不确定到底是什么问题。
推荐阅读
- java - TableView 项目不刷新,但被正确添加,从不同的控制器添加它们后
- tooltip - 如何根据消息长度调整工具提示气泡大小?
- excel - 当指向不存在的内部工作表的公式是有目的的时,如何防止 Excel“我们无法更新链接”对话框?
- react-native - 如何从 RNPickerSelect 制作 SearchableDropdown?
- reactjs - 在 useEffect 中使用 setter 和 setInterval 时状态不更新
- indexing - 在 Xpress Mosel 中的集合中索引变量
- cython - 对 Cython 类型的一流支持
- firebase - Firesbase 存储安全规则允许不遵循更新规则
- python - 将曼哈顿距离启发式结合到解决 8 谜题中的问题
- c++ - Visual Studio 2010 项目使用 32 位构建良好,但在尝试 64 位时会出现 LNK2028 和 LNK2019 错误。什么可以解决这个问题?