Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Installing Dependencies

Webpack Output filename not configured

first of all i'm using windows when i type webpack in cmd and hit enter it gives an error
"Output filename not configured" i have checked my webpack.config.js file and everything is ok and i'm using webpack from node_modules/.bin

module.exports = {
    entry: './app.js',

    output: {
        filename: 'bundle.js'
    },

    module: {
        loaders: [
          {
            test: /\.js$/,
            exclude: /node_modules/,
            loader: 'babel-loader'
          }
        ]
    }
};
Leila Alexandra
Leila Alexandra
Courses Plus Student 1,635 Points

Carefully double check the 'output' object. It is missing something.