讨论数量:
看了一楼管理员发的教程:https://github.com/Tencent/wepy/issues/2553。
解决方案大概是两种:第一种将@wepy/core版本降低到14. 第二种要同时升级 cli 和 core。
第二种不会。试了试第一种。
将上图,由原来的16 改成了14。
这里注意 ^
larabbs-weapp目录下运行:
sudo rm -rf node_modules/
sudo rm -r package-lock.json
sudo npm install - -no-bin-links
检查package-lock.json wepy/core 安装版本
npm run dev
https://github.com/Tencent/wepy/issues/255... 看看是不是版本的问题