无法再推送到 origin master, git push origin master因为几天以来,我已经卸载了 git 和 Visual Code 并重新安装了它,但没有,我遇到了同样的错误:
Missing or invalid credentials.
Error: socket hang up
at connResetException (internal/errors.js:559:14)
at Socket.socketOnEnd (_http_client.js:433:23)
at Socket.emit (events.js:208:15)
at endReadableNT (_stream_readable.js:1168:12)
at processTicksAndRejections (internal/process/task_queues.js:77:11) {
code: 'ECONNRESET'
}
Run Code Online (Sandbox Code Playgroud)
我不明白这种行为,因为在我的另一台计算机上一切正常,并且没有 GitHub 文件损坏。
这是我的配置:Ubuntu 18.04.4 LTS
需要一些帮助,请!
我需要为我的 Ionic 应用程序找到Android 可执行路径,我在 Ubuntu 中安装了带有snap 的Android ,在 Glances 结果中,我可以阅读:
PID 302 /snap/android-studio/84/android-studio/jre/bin/java -classpath
Run Code Online (Sandbox Code Playgroud)
但是这些文件夹是空的,命令行是:
npx cap 打开 android
我明白了:
[info] Opening Android project at /home/phobos/dev2/reactjs/iotabreact/android
[error] Unable to launch Android Studio. You must configure "linuxAndroidStudioPath" in your capacitor.config.json to point to the location of studio.sh, using JavaScript-escaped paths:
Example:
{
"linuxAndroidStudioPath": "/usr/local/android-studio/bin/studio.sh"
}
Run Code Online (Sandbox Code Playgroud)
谢谢你的帮助。