【发布时间】:2019-05-13 16:07:09
【问题描述】:
我一直使用 react-native-cli 或 Expo 构建 React Native 项目。
我刚刚克隆了这个包含 gradle 的 React Native 项目,我正在按照 scripts 运行 npm run build,正如我在 package.json 文件中看到的那样:
"scripts": {
"start": "nps",
"test": "nps setup",
"build": "nps build",
"setup": "nps setup && nps appcenter",
"postinstall": "rm -f ./node_modules/react-native/local-cli/core/__fixtures__/files/package.json"
},
当我运行npm run build 时,我的障碍似乎与我零经验的 gradle 有关。
Error [ERR_STREAM_WRITE_AFTER_END]: write after end
我已经接受了 SDK 的许可协议,但我不知道这个错误是关于什么的。
【问题讨论】:
标签: android reactjs react-native android-gradle-plugin