- 下载scratch-gui
下载比较慢 可以加个参数 --depth=1。在加参数的情况下依然尝试了n次才拉下来
git clone https://github.com/LLK/scratch-gui.git
git clone https://github.com/LLK/scratch-gui.git --depth=1
- 安装依赖
Can't find package @scratch/paper's version: 0.11.20200728195508 如果是报这个错,去npm官网检查了版本确实存在,然后各种尝试 cnpm 各种切换镜像源。最后发现还是一手的靠谱,(镜像源里面的包版本> 应该跟npm不是实时同步的)
npm install
nrm use npm