报错时版本
stylus:0.54.8
stylus-loader:6.1.0
解决方法:
1.检查你的版本:
npm show stylus version
npm show stylus-loader version
2.卸载过高版本:
npm uninstall stylus
npm uninstall stylus-loader
3.安装低版本:(我安装的是这两个版本)
npm install stylus-loader@3.0.1 --save
npm install stylus@0.54.5 --save-dev
好的,完美解决!!!编译成功了!!!
DONE Compiled successfully in 369ms 下午4:20:45
I Your application is running here: http://localhost:8080