{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/2416","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/2416/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/2416/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/2416/events","html_url":"https://github.com/webpack/webpack/issues/2416","id":151968023,"number":2416,"title":"\"ERROR in Entry module not found\" for module that exists","user":{"login":"olalonde","id":416585,"avatar_url":"https://avatars.githubusercontent.com/u/416585?v=3","gravatar_id":"","url":"https://api.github.com/users/olalonde","html_url":"https://github.com/olalonde","followers_url":"https://api.github.com/users/olalonde/followers","following_url":"https://api.github.com/users/olalonde/following{/other_user}","gists_url":"https://api.github.com/users/olalonde/gists{/gist_id}","starred_url":"https://api.github.com/users/olalonde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olalonde/subscriptions","organizations_url":"https://api.github.com/users/olalonde/orgs","repos_url":"https://api.github.com/users/olalonde/repos","events_url":"https://api.github.com/users/olalonde/events{/privacy}","received_events_url":"https://api.github.com/users/olalonde/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webpack/webpack/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-29T21:01:16Z","updated_at":"2016-04-30T22:27:54Z","closed_at":"2016-04-30T22:27:54Z","body":"Bash log:\r\n\r\n```bash\r\n~/code/blockai/merkletree$ npm run gh-pages:build\r\n\r\n> merkletree@1.4.0 gh-pages:build /Users/olalonde/code/blockai/merkletree\r\n> cd demo && rm -rf dist && webpack\r\n\r\nHash: 396f0bfb9d565b6f60f0\r\nVersion: webpack 1.13.0\r\nTime: 25ms\r\n\r\nERROR in Entry module not found: Error: Cannot resolve module 'app.js' in /Users/olalonde/code/blockai/merkletree/demo/src\r\n~/code/blockai/merkletree$ ls /Users/olalonde/code/blockai/merkletree/demo/src\r\napp.js\r\n~/code/blockai/merkletree$ cat demo/webpack.config.js\r\nmodule.exports = {\r\n  context: `${__dirname}/src`,\r\n  entry: 'app.js',\r\n  output: {\r\n    filename: 'bundle.js',\r\n    path: `${__dirname}/dist`,\r\n  },\r\n  module: {\r\n    loaders: [\r\n      {\r\n        test: /\\.js$/,\r\n        exclude: /node_modules/,\r\n        loader: 'babel',\r\n        query: {\r\n          presets: ['react', 'es2015'],\r\n        },\r\n      },\r\n    ],\r\n  },\r\n}\r\n~/code/blockai/merkletree$ node --version\r\nv6.0.0\r\n```\r\n\r\nThe module exists on the filesystem, etc. but webpack says it can't resolve the module. Here's the content of `app.js`:\r\n\r\n```javascript\r\nimport ReactDOM from 'react-dom'\r\nimport React from 'react'\r\n\r\nconst App = () => (\r\n  <p>hello world!</p>\r\n)\r\n\r\nReactDOM.render(\r\n  <App />,\r\n  document.getElementById('app')\r\n)\r\n```"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/215999792","html_url":"https://github.com/webpack/webpack/issues/2416#issuecomment-215999792","issue_url":"https://api.github.com/repos/webpack/webpack/issues/2416","id":215999792,"user":{"login":"olalonde","id":416585,"avatar_url":"https://avatars.githubusercontent.com/u/416585?v=3","gravatar_id":"","url":"https://api.github.com/users/olalonde","html_url":"https://github.com/olalonde","followers_url":"https://api.github.com/users/olalonde/followers","following_url":"https://api.github.com/users/olalonde/following{/other_user}","gists_url":"https://api.github.com/users/olalonde/gists{/gist_id}","starred_url":"https://api.github.com/users/olalonde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olalonde/subscriptions","organizations_url":"https://api.github.com/users/olalonde/orgs","repos_url":"https://api.github.com/users/olalonde/repos","events_url":"https://api.github.com/users/olalonde/events{/privacy}","received_events_url":"https://api.github.com/users/olalonde/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T22:27:54Z","updated_at":"2016-04-30T22:27:54Z","body":"Oh, thanks."}}