MAC电脑(apple芯片),编译的时候控制台提示:
npx update-browserslist-db@latest
[HBuilder] Why you should do it regularly: https://github.com/browserslist/update-db#readme
【解决方案】
cd /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli
rm -rf yarn.lock
npm install caniuse-lite@latest browserslist@latest
1、试了,重新安装最新版的HBuilderX也没用
2、注意你的node版本要>=18(我用的是22)
0 个评论
要回复文章请先登录或注册