{"action":"created","issue":{"url":"https://api.github.com/repos/shakacode/bootstrap-loader/issues/30","labels_url":"https://api.github.com/repos/shakacode/bootstrap-loader/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/shakacode/bootstrap-loader/issues/30/comments","events_url":"https://api.github.com/repos/shakacode/bootstrap-loader/issues/30/events","html_url":"https://github.com/shakacode/bootstrap-loader/issues/30","id":128515242,"number":30,"title":"ERROR in ./~/bootstrap-loader/lib/bootstrap.scripts.loader.js!./~/bootstrap-loader/no-op.js","user":{"login":"larsw","id":63235,"avatar_url":"https://avatars.githubusercontent.com/u/63235?v=3","gravatar_id":"","url":"https://api.github.com/users/larsw","html_url":"https://github.com/larsw","followers_url":"https://api.github.com/users/larsw/followers","following_url":"https://api.github.com/users/larsw/following{/other_user}","gists_url":"https://api.github.com/users/larsw/gists{/gist_id}","starred_url":"https://api.github.com/users/larsw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsw/subscriptions","organizations_url":"https://api.github.com/users/larsw/orgs","repos_url":"https://api.github.com/users/larsw/repos","events_url":"https://api.github.com/users/larsw/events{/privacy}","received_events_url":"https://api.github.com/users/larsw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-25T11:20:19Z","updated_at":"2016-01-25T11:33:05Z","closed_at":null,"body":"Hi,\r\n\r\n When I run webpack-dev-server, I get this error 12-13 times with minor line/position variations:\r\n```\r\nERROR in ./~/bootstrap-loader/lib/bootstrap.scripts.loader.js!./~/bootstrap-loader/no-op.js\r\nModule not found: Error: Cannot resolve module 'imports' in /home/larsw/shave/node_modules/bootstrap-loader\r\n @ ./~/bootstrap-loader/lib/bootstrap.scripts.loader.js!./~/bootstrap-loader/no-op.js 1:0-69\r\n```\r\n\r\nmy ./app/app.js file is currently empty.\r\n\r\nMy webconfig.config.js:\r\n```\r\n/*global __dirname */\r\nvar webpack = require('webpack');\r\nvar path = require('path');\r\n\r\nmodule.exports = {\r\n    entry: [\r\n        'webpack-dev-server/client?http://localhost:8080', // WebpackDevServer host and port\r\n        'webpack/hot/only-dev-server', // \"only\" prevents reload on syntax errors\r\n        'bootstrap-loader',\r\n        path.resolve(__dirname, \"app\", \"app.js\")],\r\n    output: {\r\n        filename: \"bundle.js\",\r\n        path: __dirname\r\n    },\r\n    plugins: [\r\n        new webpack.ProvidePlugin({\r\n        $: \"jquery\",\r\n        jQuery: \"jquery\"\r\n        })\r\n    ],\r\n    resolve: {\r\n      extensions: ['','.js','.jsx']\r\n    },\r\n    module: {\r\n    loaders: [\r\n        {\r\n        test: /\\.jsx?$/,\r\n        exclude: /node_modules/,\r\n        loaders: [\"react-hot\", \"babel?cacheDirectory\"],\r\n        },\r\n        { test: /\\.(woff2?|svg)$/, loader: 'url?limit=10000' },\r\n        { test: /\\.(ttf|eot)$/, loader: 'file' },\r\n        { test: /bootstrap-sass\\/assets\\/javascripts\\//, loader: 'imports?jQuery=jquery' },\r\n        { test: /\\.scss$/, loaders: [\"style\", \"css\", \"sass\"] }\r\n    ],\r\n    },\r\n}\r\n```\r\nand my package.json:\r\n```\r\n{\r\n  \"name\": \"foobar\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"foobar\",\r\n  \"main\": \"index.js\",\r\n  \"scripts\": {\r\n    \"dev\": \"webpack-dev-server --port 8080 --hot --inline\"\r\n  },\r\n  \"author\": \"Lars Wilhelmsen\",\r\n  \"license\": \"Apache-2.0\",\r\n  \"dependencies\": {\r\n    \"react\": \"^0.14.6\"    \r\n  },\r\n  \"devDependencies\": {\r\n    \"babel\": \"^6.3.26\",\r\n    \"babel-loader\": \"^6.2.1\",\r\n    \"babel-plugin-transform-decorators-legacy\": \"^1.3.4\",\r\n    \"babel-preset-es2015\": \"^6.3.13\",\r\n    \"babel-preset-react\": \"^6.3.13\",\r\n    \"bootstrap-loader\": \"^1.0.6\",\r\n    \"bootstrap-sass\": \"^3.3.6\",\r\n    \"css-loader\": \"^0.23.1\",\r\n    \"file-loader\": \"^0.8.5\",\r\n    \"font-loader\": \"^0.1.2\",\r\n    \"node-sass\": \"^3.4.2\",\r\n    \"react-hot-loader\": \"^1.3.0\",\r\n    \"resolve-url-loader\": \"^1.4.3\",\r\n    \"sass-loader\": \"^3.1.2\",\r\n    \"style-loader\": \"^0.13.0\",\r\n    \"svg-loader\": \"0.0.2\",\r\n    \"url-loader\": \"^0.5.7\",\r\n    \"webpack\": \"^1.12.12\",\r\n    \"webpack-dev-server\": \"^1.14.1\"\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/shakacode/bootstrap-loader/issues/comments/174479061","html_url":"https://github.com/shakacode/bootstrap-loader/issues/30#issuecomment-174479061","issue_url":"https://api.github.com/repos/shakacode/bootstrap-loader/issues/30","id":174479061,"user":{"login":"alexfedoseev","id":4244251,"avatar_url":"https://avatars.githubusercontent.com/u/4244251?v=3","gravatar_id":"","url":"https://api.github.com/users/alexfedoseev","html_url":"https://github.com/alexfedoseev","followers_url":"https://api.github.com/users/alexfedoseev/followers","following_url":"https://api.github.com/users/alexfedoseev/following{/other_user}","gists_url":"https://api.github.com/users/alexfedoseev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfedoseev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfedoseev/subscriptions","organizations_url":"https://api.github.com/users/alexfedoseev/orgs","repos_url":"https://api.github.com/users/alexfedoseev/repos","events_url":"https://api.github.com/users/alexfedoseev/events{/privacy}","received_events_url":"https://api.github.com/users/alexfedoseev/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T11:33:05Z","updated_at":"2016-01-25T11:33:05Z","body":"Hi, please enable debugging (in config set `loglevel: debug`) and post output from console."}}