ENV:
osx: 10.12.2
webpack: ^2.2.1
vue: ^2.1.10
vue-loader: ^11.0.0
vue-style-loader: ^2.0.0
node: ^7.5.0
npm: ^4.1.0
After upgrade my project configs & other dependencies to same as the latest vue-cli webpack template.
Not build the project with "vue-cli init webpack xxx", but just modify the configs to the same as this template was.
When run dev, i got these errors

the resolve config is same as vue-cli webpack template.

so, what happened?
Fresh install from vue-cli and everything works as intended. Sorry but we can't magically help you debug config that's not written by us.
@yyx990803 seems find the resion, it's caused by "less"
After built from vue-cli webpack template, i add a file named "colors.less" to src/assets.
Then import it from App.vue and run dev, got a same error.



I do not change anything else.
cli 模板不会帮你装预处理器。http://vuejs-templates.github.io/webpack/pre-processors.html
Sorry, 没有注意这个东西。从 webpack 1.x 转过来的。1.x 构建好工程之后 package.json 已经引入 less-loader 了。升级后没去注意这些,我以为新版的是直接通过 vue-loader 处理完组件里面的其他 import 呢。
不好意思,耽误你时间了啊,亲。
Most helpful comment
cli 模板不会帮你装预处理器。http://vuejs-templates.github.io/webpack/pre-processors.html