Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when update all modules babel #341

Closed
akulnurislam opened this issue Dec 11, 2015 · 0 comments
Closed

Error when update all modules babel #341

akulnurislam opened this issue Dec 11, 2015 · 0 comments

Comments

@akulnurislam
Copy link

  [0] multi main 40 bytes {0} [built]
  [1] (webpack)-dev-server/client?http://localhost:8080 2.48 kB {0} [built] [3 errors]
  [5] ./src/js/main.js 356 bytes {0} [built]
  [6] ./~/react/react.js 55 bytes {0} [built]
  [7] ./~/react/lib/React.js 1.49 kB {0} [built]
  [8] ./~/react/lib/ReactDOM.js 3.71 kB {0} [built]
  [9] (webpack)/~/process/browser.js 2.07 kB {0} [built]
 [10] ./~/react/lib/ReactCurrentOwner.js 654 bytes {0} [built]
 [11] ./~/react/lib/ReactDOMTextComponent.js 4.39 kB {0} [built]
           ...
[162] ./~/react/lib/deprecated.js 1.77 kB {0} [built]
[163] ./src/js/components/app.jsx 194 bytes {0} [built]

ERROR in The node API for `babel` has been moved to `babel-core`.
 @ (webpack)-dev-server/client?http://localhost:8080 1:10-24

ERROR in The node API for `babel` has been moved to `babel-core`.
 @ (webpack)-dev-server/client?http://localhost:8080 3:16-37

ERROR in The node API for `babel` has been moved to `babel-core`.
 @ (webpack)-dev-server/client?http://localhost:8080 2:13-37
webpack: bundle is now VALID.

my webpack.config.js

module.exports = {
    entry: './src/js/main.js',
    output: {
        path: './dist',
        filename: 'bundle.js',
        publicPath: '/'
    },
    devServer: {
        inline: true,
        contentBase: './dist'
    },
    module: {
        loaders: [
            {
                test: /\.js?$/,
                exclude: /^(node_modules|bower_components)$/,
                loader: 'babel'
            }
        ]
    }
};

before update, everything it's ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant