现在 wepy-compiler-less 1.3.14版本有问题,只需要在package.json里面修改为 "wepy-compiler-less": "1.3.12",重新npm install包就可以了 因为你默认版本没有写死,会直接安装wepy-compiler-less的最高版本,写死版本就可以了
@captainwong 现在 wepy-compiler-less 1.3.14版本有问题,只需要在package.json里面修改为 "wepy-compiler-less": "1.3.12",重新npm install包就可以了 因为你默认版本没有写死,会直接安装wepy-compiler-less的最高版本,写死版本就可以了
@captainwong 我的解决了,yarn时加上 --no-bin-links , npm run watch-poll 的时候一直报的错误是 cross-env 的错误,百度之后找到了方法解决, https://blog.csdn.net/qq_37910492/article/... ,我自己也记录了一下,另外虚拟机里一直在跑这个命令的话,会发现物理机cpu一直跑的很高, https://blog.csdn.net/qq_37910492/article/... ,这里面的方法可以解决,到此暂时我这边用的没有问题了
推荐文章: