- 下载源码:https://github.com/LLK/scratch-www
- 进入目录:cd scratch-www
- 安装npm:sudo apt install npm
- 更新依赖包:npm install
- 报错:node-sass@4.6.1 install:`node scripts/install.js`
- 原因:node没安装
- 安装nodejs:sudo apt install nodejs-legacy
- 重新执行:npm install
- Build:npm run build
- 报错:Block-scoped declarations (let..) not yet supported outside strict mode
- 原因:node不是最新的
- 升级nodejs到最新:
- 安装工具n:sudo npm install n -g
- 安装lts版本:sudo n lts
- 重启终端
- 重新执行:npm run build
- 报错:Node Sass does not yet support your current environment: Linux 64-bit wit
基于Scratch 3.0 本地客户端源码 部署流程
最新推荐文章于 2020-07-18 15:23:24 发布