树莓派自建朋友圈集赞神器
在GitHub项目用的是
https://github.com/zxb1655/weipyq
树莓派自带的yarn版本超低的运行不起来必须完成如下操作后运行
1.安装nodejs
sudo apt-get install nodejs
2.更改源文件
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
3.安装yarn
sudo apt update && sudo apt install yarn
4.yarn安装依赖
cd weipyq && yarn
5.运行项目
yarn dev:h5
6.打包项目
yarn build:h5