{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26689","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26689/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26689/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26689/events","html_url":"https://github.com/Microsoft/TypeScript/issues/26689","id":354380781,"node_id":"MDU6SXNzdWUzNTQzODA3ODE=","number":26689,"title":"Monrepo with project references fails to compile","user":{"login":"raymondfeng","id":540892,"node_id":"MDQ6VXNlcjU0MDg5Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/540892?v=4","gravatar_id":"","url":"https://api.github.com/users/raymondfeng","html_url":"https://github.com/raymondfeng","followers_url":"https://api.github.com/users/raymondfeng/followers","following_url":"https://api.github.com/users/raymondfeng/following{/other_user}","gists_url":"https://api.github.com/users/raymondfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/raymondfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raymondfeng/subscriptions","organizations_url":"https://api.github.com/users/raymondfeng/orgs","repos_url":"https://api.github.com/users/raymondfeng/repos","events_url":"https://api.github.com/users/raymondfeng/events{/privacy}","received_events_url":"https://api.github.com/users/raymondfeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-27T16:09:11Z","updated_at":"2018-09-06T08:27:29Z","closed_at":null,"author_association":"NONE","body":"<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨\r\n\r\nHalf of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common \"Bugs\" That Aren't Bugs section!\r\n\r\nPlease help us by doing the following steps before logging an issue:\r\n  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues\r\n  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n\r\nPlease fill in the *entire* template below.\r\n-->\r\n\r\n<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:**  3.0.1\r\n\r\n<!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:**\r\n\r\nProject references\r\n\r\n**Code**\r\n\r\nhttps://github.com/raymondfeng/learn-a/\r\n\r\nPlease follow the README.md to reproduce the problem.\r\n```sh\r\nnpm i\r\nnpm run build\r\n```\r\n**Expected behavior:**\r\n\r\nThe build should be successful.\r\n\r\n**Actual behavior:**\r\n```\r\nnpm run build\r\n\r\n> @ build /Users/rfeng/Projects/demos/learn-a\r\n> tsc -b packages\r\n\r\npackages/pkg2/src/index.ts:1:21 - error TS2307: Cannot find module '@ryancavanaugh/pkg1'.\r\n\r\n1 import * as p1 from '@ryancavanaugh/pkg1';\r\n```\r\n\r\n**Playground Link:** <!-- A link to a TypeScript Playground \"Share\" link which demonstrates this behavior -->\r\n\r\n**Related Issues:** <!-- Did you find other bugs that looked similar? -->\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/419009695","html_url":"https://github.com/Microsoft/TypeScript/issues/26689#issuecomment-419009695","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26689","id":419009695,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTAwOTY5NQ==","user":{"login":"bajtos","id":1140553,"node_id":"MDQ6VXNlcjExNDA1NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1140553?v=4","gravatar_id":"","url":"https://api.github.com/users/bajtos","html_url":"https://github.com/bajtos","followers_url":"https://api.github.com/users/bajtos/followers","following_url":"https://api.github.com/users/bajtos/following{/other_user}","gists_url":"https://api.github.com/users/bajtos/gists{/gist_id}","starred_url":"https://api.github.com/users/bajtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bajtos/subscriptions","organizations_url":"https://api.github.com/users/bajtos/orgs","repos_url":"https://api.github.com/users/bajtos/repos","events_url":"https://api.github.com/users/bajtos/events{/privacy}","received_events_url":"https://api.github.com/users/bajtos/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T08:27:29Z","updated_at":"2018-09-06T08:27:29Z","author_association":"NONE","body":"Interesting. Maybe we can try to split each package into two sub-projects, one for `src` and another for `test`, as described in http://www.typescriptlang.org/docs/handbook/project-references.html#an-example-project?"}}
{"actor":{"display_login":"bajtos"}}