代码拉取完成,页面将自动刷新
Git download connection unstable, insufficient git download buffer, MTU (Maximum Transmission Unit) too small
git config --global http.sslVerify false
git config --global http.postBuffer 1048576000 # 1GB buffer
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedLTime 999999
sudo ifconfig eth0 mtu 14000
VS Code does not have the proper permission on wslServer.sh file
cd /mnt/c/Users/[userName]/.vscode/extensions/ms-vscode.remote-wsl-0.42.3/scripts
chmod +x *
Then reconnect the WSL through VS Code
The provided node-v14.21.1 is missing those modules inside its node_modules dir
or
The verison of node pre-installed in the Linux subsystem conflicts with the one provided and used in the project
cd ~/OpenHarmony/master/prebuilts/build-tools/common/nodejs/node-v14.21.1-linux-x64/lib/node_modules/npm/node_modules
npm install semver
... # install all missing modules through npm install command
or
npm config set registry https://registry.npm.taobao.org # switch npm registry
npm install . # re-installed all modules
OpenHarmony master branch unstable; ninja or gn not properly installed.
sudo apt install ninja / gn
cp ninja /usr/bin/ninja
cp gn /usr/bin/gn
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。