如何进一步调试 cli react-native bundle 命令?命令挂起,没有错误

How do I debug cli react-native bundle command further? Command hangs with no error

我一直在使用 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 模块,删除后一切又按预期运行。由于缺少日志输出,不确定到底是什么问题。