jcoreio / crater

Meteor/Webpack/React SSR app skeleton that runs your app code outside of Meteor Isobuild
ISC License
82 stars 10 forks source link

Can't resolve 'babel' (webpack2 branch) #86

Closed coniel closed 7 years ago

coniel commented 7 years ago

I'm getting the following error when trying out the webpack2 branch (master branch works fine):

ERROR in multi main
Module not found: Error: Can't resolve 'babel' in '/Users/oscarconiel1/Sites/coniel/sis'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' prefix when using loaders.
                 You need to specify 'babel-loader' instead of 'babel'.
 @ multi main
jedwards1211 commented 7 years ago

ah, luckily that's a very clear error message. I'm on it. Thanks!

jedwards1211 commented 7 years ago

btw, if you need a workaround until I fix this, you should be able to use webpack-2.1.0-beta.25 or earlier (see https://github.com/webpack/webpack/releases/tag/v2.1.0-beta.26)

jedwards1211 commented 7 years ago

okay, this is fixed!