{"action":"closed","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/6490","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/6490/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/6490/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/6490/events","html_url":"https://github.com/webpack/webpack/issues/6490","id":297117886,"number":6490,"title":"Cannot find module 'source-map' after installing: `npm install @types/webpack`","user":{"login":"Legends","id":966368,"avatar_url":"https://avatars1.githubusercontent.com/u/966368?v=4","gravatar_id":"","url":"https://api.github.com/users/Legends","html_url":"https://github.com/Legends","followers_url":"https://api.github.com/users/Legends/followers","following_url":"https://api.github.com/users/Legends/following{/other_user}","gists_url":"https://api.github.com/users/Legends/gists{/gist_id}","starred_url":"https://api.github.com/users/Legends/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Legends/subscriptions","organizations_url":"https://api.github.com/users/Legends/orgs","repos_url":"https://api.github.com/users/Legends/repos","events_url":"https://api.github.com/users/Legends/events{/privacy}","received_events_url":"https://api.github.com/users/Legends/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-14T14:36:00Z","updated_at":"2018-02-14T15:19:38Z","closed_at":"2018-02-14T15:19:38Z","author_association":"NONE","body":"<!-- Please don't delete this template or we'll close your issue -->\r\n<!-- Before creating an issue please make sure you are using the latest version of webpack. -->\r\n<!-- Also consider trying the webpack@beta version, maybe it's already fixed. -->\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\nbug\r\n<!-- Please ask questions on StackOverflow or the webpack Gitter (https://gitter.im/webpack/webpack). -->\r\n<!-- Issues which contain questions or support requests will be closed. -->\r\n\r\n**What is the current behavior?**\r\nCannot find module 'source-map'  error when running `tsc` after installing:\r\n`npm install @types/webpack`\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\nCannot find module 'source-map'  error when running `tsc` after installing:\r\n`npm install @types/webpack`\r\n<!-- A great way to do this is to provide your configuration via a GitHub gist. -->\r\n<!-- Best provide a minimal reproduceable repo -->\r\n<!-- If your issue is caused by a plugin or loader file the issue on the plugin/loader repo -->\r\n\r\n**What is the expected behavior?**\r\nI want to have full intellisense support for my webpack.config.js, therefore I install `@types/webpack`.\r\nNo errors when running `tsc` afterwards.\r\n**If this is a feature request, what is motivation or use case for changing the behavior?**\r\n\r\n**Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.**\r\nWin 10 x64\r\nVsCode 1.20\r\n\r\n```\r\n\"dependencies\": {\r\n    \"@types/node\": \"^9.4.5\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@types/jquery\": \"^3.3.0\",\r\n    \"@types/lodash\": \"^4.14.102\",\r\n    \"html-webpack-plugin\": \"^2.30.1\",\r\n    \"jquery\": \"^3.3.1\",\r\n    \"lodash\": \"^4.17.5\",\r\n    \"ts-loader\": \"^3.5.0\",\r\n    \"typescript\": \"^2.7.1\",\r\n    \"webpack\": \"^3.11.0\"\r\n  },\r\n```\r\n[Issue posted in TS repo](https://github.com/Microsoft/TypeScript/issues/21942)"}}
{"actor":{"display_login":"Legends"}}