{"action":"created","issue":{"url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1904","repository_url":"https://api.github.com/repos/parcel-bundler/parcel","labels_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1904/labels{/name}","comments_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1904/comments","events_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1904/events","html_url":"https://github.com/parcel-bundler/parcel/issues/1904","id":351397521,"node_id":"MDU6SXNzdWUzNTEzOTc1MjE=","number":1904,"title":"My tsconfig.json somehow causes \"Error: Cannot find module 'react'\"","user":{"login":"qwertie","id":720717,"node_id":"MDQ6VXNlcjcyMDcxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/720717?v=4","gravatar_id":"","url":"https://api.github.com/users/qwertie","html_url":"https://github.com/qwertie","followers_url":"https://api.github.com/users/qwertie/followers","following_url":"https://api.github.com/users/qwertie/following{/other_user}","gists_url":"https://api.github.com/users/qwertie/gists{/gist_id}","starred_url":"https://api.github.com/users/qwertie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qwertie/subscriptions","organizations_url":"https://api.github.com/users/qwertie/orgs","repos_url":"https://api.github.com/users/qwertie/repos","events_url":"https://api.github.com/users/qwertie/events{/privacy}","received_events_url":"https://api.github.com/users/qwertie/received_events","type":"User","site_admin":false},"labels":[{"id":663703608,"node_id":"MDU6TGFiZWw2NjM3MDM2MDg=","url":"https://api.github.com/repos/parcel-bundler/parcel/labels/:bug:%20Bug","name":":bug: Bug","color":"d93f0b","default":false},{"id":774916816,"node_id":"MDU6TGFiZWw3NzQ5MTY4MTY=","url":"https://api.github.com/repos/parcel-bundler/parcel/labels/:clock1:%20Waiting","name":":clock1: Waiting","color":"d768dd","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-16T23:00:21Z","updated_at":"2018-08-18T17:25:20Z","closed_at":null,"author_association":"NONE","body":"# 🐛 bug report\r\n\r\nPreviously I have used React with Parcel without any problems. But for some reason a new, small project isn't working (\"Error: Cannot find module 'react'\" appears in the browser console), and I found out that the problem disappears if I delete my tsconfig.json file. I tried fiddling with the settings in tsconfig.json but so far didn't find a solution other than deleting/renaming the file.\r\n\r\n## 🎛 Configuration (.babelrc, package.json, cli command)\r\n\r\n- [package.json](https://github.com/qwertie/holders/blob/ec0d16c4277082e1ab382046121be2121bfbc0d5/package.json)\r\n\r\n## 🤔 Expected Behavior\r\n\r\nIt should find React.\r\n\r\n## 😯 Current Behavior\r\n\r\nIt doesn't.\r\n\r\n## 💻 Code Sample\r\n\r\n[Repository](https://github.com/qwertie/holders/tree/ff1f4bd27ce493437ed9d7266c41bc54fe2dcbb7)\r\n\r\n## 🌍 Your Environment\r\n\r\n| Software         | Version(s) |\r\n| ---------------- | ---------- |\r\n| Parcel           | 1.9.7 |\r\n| Node             | 10.4.1 |\r\n| npm/Yarn         | 6.1.0 |\r\n| Operating System | Windows 10 |\r\n"},"comment":{"url":"https://api.github.com/repos/parcel-bundler/parcel/issues/comments/414073584","html_url":"https://github.com/parcel-bundler/parcel/issues/1904#issuecomment-414073584","issue_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1904","id":414073584,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDA3MzU4NA==","user":{"login":"qwertie","id":720717,"node_id":"MDQ6VXNlcjcyMDcxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/720717?v=4","gravatar_id":"","url":"https://api.github.com/users/qwertie","html_url":"https://github.com/qwertie","followers_url":"https://api.github.com/users/qwertie/followers","following_url":"https://api.github.com/users/qwertie/following{/other_user}","gists_url":"https://api.github.com/users/qwertie/gists{/gist_id}","starred_url":"https://api.github.com/users/qwertie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qwertie/subscriptions","organizations_url":"https://api.github.com/users/qwertie/orgs","repos_url":"https://api.github.com/users/qwertie/repos","events_url":"https://api.github.com/users/qwertie/events{/privacy}","received_events_url":"https://api.github.com/users/qwertie/received_events","type":"User","site_admin":false},"created_at":"2018-08-18T17:25:20Z","updated_at":"2018-08-18T17:25:20Z","author_association":"NONE","body":"Aha! I discovered that version 1.6.2 works while the next version, 1.7.0, is broken (as well as 1.7.1, 1.8.1 and 1.9.7).\r\n"}}
{"actor":{"display_login":"qwertie"}}