Skip to content

Error when update all modules babel #341

@akulnurislam

Description

@akulnurislam
  [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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions