qbright / vue2_vuex2_webpack2_ssr

use vue2 + vuex2 + webpack2 to build a server-side-render service
65 stars 15 forks source link

npm run build我这里报错了.麻烦看看. #1

Closed lileltp closed 7 years ago

lileltp commented 8 years ago

ERROR in Entry module not found: Error: Can't resolve 'babel' in '/Downloads/vue2_vuex2_webpack2_ssr-master' BREAKING CHANGE: It's no longer allowed to omit the '-loader' prefix when using loaders. You need to specify 'babel-loader' instead of 'babel'.

qbright commented 8 years ago

@lileltp 最后一行写着 在loader配置里面用 babel-loader 替换babel,试试看,估计是webpack的版本不同或者是你那个库没有安装对的问题