{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/212","labels_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/212/comments","events_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/212/events","html_url":"https://github.com/webpack/webpack-dev-server/issues/212","id":95098934,"number":212,"title":"getting `request of a dependency is an expression` warning","user":{"login":"lelandrichardson","id":1885623,"avatar_url":"https://avatars.githubusercontent.com/u/1885623?v=3","gravatar_id":"","url":"https://api.github.com/users/lelandrichardson","html_url":"https://github.com/lelandrichardson","followers_url":"https://api.github.com/users/lelandrichardson/followers","following_url":"https://api.github.com/users/lelandrichardson/following{/other_user}","gists_url":"https://api.github.com/users/lelandrichardson/gists{/gist_id}","starred_url":"https://api.github.com/users/lelandrichardson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lelandrichardson/subscriptions","organizations_url":"https://api.github.com/users/lelandrichardson/orgs","repos_url":"https://api.github.com/users/lelandrichardson/repos","events_url":"https://api.github.com/users/lelandrichardson/events{/privacy}","received_events_url":"https://api.github.com/users/lelandrichardson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-15T03:49:14Z","updated_at":"2015-08-27T12:12:08Z","closed_at":null,"body":"I'm trying to get webpack dev server running for a project. I've got it working for the most part, but I'm getting the following warning messages when loading in the browser:\r\n\r\n\r\n```\r\n(undefined) (webpack)-dev-server/~/socket.io-client/~/engine.io-client/~/ws/~/utf-8-validate/~/bindings/bindings.js\r\nCritical dependencies:\r\n76:22-40 the request of a dependency is an expression\r\n76:43-53 the request of a dependency is an expression\r\n @ (webpack)-dev-server/~/socket.io-client/~/engine.io-client/~/ws/~/utf-8-validate/~/bindings/bindings.js 76:22-40 76:43-53\r\n```\r\n\r\n```\r\n(undefined) (webpack)-dev-server/~/socket.io-client/~/engine.io-client/~/ws/~/bufferutil/~/bindings/bindings.js\r\nCritical dependencies:\r\n76:22-40 the request of a dependency is an expression\r\n76:43-53 the request of a dependency is an expression\r\n @ (webpack)-dev-server/~/socket.io-client/~/engine.io-client/~/ws/~/bufferutil/~/bindings/bindings.js 76:22-40 76:43-53\r\n```\r\n\r\nSome notes about my configuration that might be out of the ordinary, but shouldn't matter (i don't think):\r\n\r\n1. I'm \"combining with an existing server\"\r\n2. My webpack config has module.exports as an array, importing 2 separate configs (one for node/server app and another for web/client bundles).\r\n\r\nHere is my `webpack.client.config.js`:\r\n\r\n\r\n```js\r\nvar path = require('path');\r\nvar webpack = require('webpack');\r\nvar ExtractTextPlugin = require(\"extract-text-webpack-plugin\");\r\nvar StatsPlugin = require('stats-webpack-plugin');\r\nvar ISPROD = process.env.NODE_ENV == \"production\";\r\nvar ISDEV = !ISPROD;\r\n\r\nvar plugins = [\r\n    new webpack.DefinePlugin({\r\n        __CLIENT__: true,\r\n        __SERVER__: false,\r\n        __DEV__: ISDEV\r\n    }),\r\n    new webpack.NoErrorsPlugin(),\r\n    new ExtractTextPlugin(\"[name].css\")\r\n];\r\nmodule.exports = {\r\n    cache: ISDEV,\r\n    debug: ISDEV,\r\n    profile: ISDEV,\r\n    bail: ISPROD,\r\n    target: \"web\",\r\n    devtool: 'source-map',\r\n    entry: {\r\n        Client: './src/Client',\r\n        Admin: './src/Admin'\r\n    },\r\n    devServer: {\r\n        contentBase: './build'\r\n    },\r\n    output: {\r\n        path: path.join(__dirname, 'build', 'client'),\r\n        publicPath: 'http://localhost:9090/assets/',\r\n        filename: '[name].js',\r\n        chunkFilename: '[chunkhash].js',\r\n        sourceMapFilename: 'debugging/[file].map'\r\n    },\r\n    module: {\r\n        loaders: [\r\n            {\r\n                test: /\\.jsx?$/,\r\n                exclude: /node_modules/,\r\n                loader: 'babel',\r\n                query: {\r\n                    optional: [\r\n                        'runtime',\r\n                        'es7.decorators',\r\n                        'es7.classProperties',\r\n                        'es7.objectRestSpread',\r\n                        'es7.comprehensions',\r\n                        'es7.functionBind',\r\n                        'utility.inlineEnvironmentVariables',\r\n                        'minification.propertyLiterals'\r\n                    ],\r\n                    loose: 'all'\r\n                }\r\n            },\r\n            {\r\n                test: /\\.(less|css|scss)$/,\r\n                loader: ExtractTextPlugin.extract(\"style-loader\", \"css!less\")\r\n            },\r\n            {\r\n                test: /\\.json$/,\r\n                loader: \"json\"\r\n            }\r\n        ],\r\n        noParse: /\\.min\\.js/\r\n    },\r\n    resolve: {\r\n        modulesDirectories: ['node_modules'],\r\n        extensions: ['', '.js', '.jsx', '.json']\r\n    },\r\n    plugins: plugins,\r\n    externals: {\r\n        \"react\": \"React\",\r\n        \"moment\": \"moment\",\r\n        \"immutable\": \"Immutable\"\r\n    }\r\n};\r\n```\r\n\r\nIt looks like it's outputting code that was meant to be run only in node.\r\n\r\nAnyone have any idea what could be going on?  Any help is much appreciated.  Thanks."},"comment":{"url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/comments/135403628","html_url":"https://github.com/webpack/webpack-dev-server/issues/212#issuecomment-135403628","issue_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/212","id":135403628,"user":{"login":"cgrossde","id":2333584,"avatar_url":"https://avatars.githubusercontent.com/u/2333584?v=3","gravatar_id":"","url":"https://api.github.com/users/cgrossde","html_url":"https://github.com/cgrossde","followers_url":"https://api.github.com/users/cgrossde/followers","following_url":"https://api.github.com/users/cgrossde/following{/other_user}","gists_url":"https://api.github.com/users/cgrossde/gists{/gist_id}","starred_url":"https://api.github.com/users/cgrossde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgrossde/subscriptions","organizations_url":"https://api.github.com/users/cgrossde/orgs","repos_url":"https://api.github.com/users/cgrossde/repos","events_url":"https://api.github.com/users/cgrossde/events{/privacy}","received_events_url":"https://api.github.com/users/cgrossde/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T12:12:08Z","updated_at":"2015-08-27T12:12:08Z","body":"@lelandrichardson Can you elaborate in more detail (maybe gist) on how you did this? I'm having the same problem currently."}}