{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26363","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26363/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26363/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26363/events","html_url":"https://github.com/Microsoft/TypeScript/issues/26363","id":349594722,"node_id":"MDU6SXNzdWUzNDk1OTQ3MjI=","number":26363,"title":"Debug Failure when using --build","user":{"login":"markboyall","id":17589164,"node_id":"MDQ6VXNlcjE3NTg5MTY0","avatar_url":"https://avatars2.githubusercontent.com/u/17589164?v=4","gravatar_id":"","url":"https://api.github.com/users/markboyall","html_url":"https://github.com/markboyall","followers_url":"https://api.github.com/users/markboyall/followers","following_url":"https://api.github.com/users/markboyall/following{/other_user}","gists_url":"https://api.github.com/users/markboyall/gists{/gist_id}","starred_url":"https://api.github.com/users/markboyall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markboyall/subscriptions","organizations_url":"https://api.github.com/users/markboyall/orgs","repos_url":"https://api.github.com/users/markboyall/repos","events_url":"https://api.github.com/users/markboyall/events{/privacy}","received_events_url":"https://api.github.com/users/markboyall/received_events","type":"User","site_admin":false},"labels":[{"id":113970366,"node_id":"MDU6TGFiZWwxMTM5NzAzNjY=","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":1064051041,"node_id":"MDU6TGFiZWwxMDY0MDUxMDQx","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Crash","name":"Crash","color":"d93f0b","default":false},{"id":675180101,"node_id":"MDU6TGFiZWw2NzUxODAxMDE=","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Scenario:%20Monorepos%20&%20Cross-Project%20References","name":"Scenario: Monorepos & Cross-Project References","color":"f93fdb","default":false}],"state":"open","locked":false,"assignee":{"login":"sheetalkamat","id":8052792,"node_id":"MDQ6VXNlcjgwNTI3OTI=","avatar_url":"https://avatars2.githubusercontent.com/u/8052792?v=4","gravatar_id":"","url":"https://api.github.com/users/sheetalkamat","html_url":"https://github.com/sheetalkamat","followers_url":"https://api.github.com/users/sheetalkamat/followers","following_url":"https://api.github.com/users/sheetalkamat/following{/other_user}","gists_url":"https://api.github.com/users/sheetalkamat/gists{/gist_id}","starred_url":"https://api.github.com/users/sheetalkamat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheetalkamat/subscriptions","organizations_url":"https://api.github.com/users/sheetalkamat/orgs","repos_url":"https://api.github.com/users/sheetalkamat/repos","events_url":"https://api.github.com/users/sheetalkamat/events{/privacy}","received_events_url":"https://api.github.com/users/sheetalkamat/received_events","type":"User","site_admin":false},"assignees":[{"login":"sheetalkamat","id":8052792,"node_id":"MDQ6VXNlcjgwNTI3OTI=","avatar_url":"https://avatars2.githubusercontent.com/u/8052792?v=4","gravatar_id":"","url":"https://api.github.com/users/sheetalkamat","html_url":"https://github.com/sheetalkamat","followers_url":"https://api.github.com/users/sheetalkamat/followers","following_url":"https://api.github.com/users/sheetalkamat/following{/other_user}","gists_url":"https://api.github.com/users/sheetalkamat/gists{/gist_id}","starred_url":"https://api.github.com/users/sheetalkamat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheetalkamat/subscriptions","organizations_url":"https://api.github.com/users/sheetalkamat/orgs","repos_url":"https://api.github.com/users/sheetalkamat/repos","events_url":"https://api.github.com/users/sheetalkamat/events{/privacy}","received_events_url":"https://api.github.com/users/sheetalkamat/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/77","html_url":"https://github.com/Microsoft/TypeScript/milestone/77","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/77/labels","id":3556985,"node_id":"MDk6TWlsZXN0b25lMzU1Njk4NQ==","number":77,"title":"TypeScript 3.2","description":"Tentative name for the release following TypeScript 3.1","creator":{"login":"RyanCavanaugh","id":6685088,"node_id":"MDQ6VXNlcjY2ODUwODg=","avatar_url":"https://avatars3.githubusercontent.com/u/6685088?v=4","gravatar_id":"","url":"https://api.github.com/users/RyanCavanaugh","html_url":"https://github.com/RyanCavanaugh","followers_url":"https://api.github.com/users/RyanCavanaugh/followers","following_url":"https://api.github.com/users/RyanCavanaugh/following{/other_user}","gists_url":"https://api.github.com/users/RyanCavanaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanCavanaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanCavanaugh/subscriptions","organizations_url":"https://api.github.com/users/RyanCavanaugh/orgs","repos_url":"https://api.github.com/users/RyanCavanaugh/repos","events_url":"https://api.github.com/users/RyanCavanaugh/events{/privacy}","received_events_url":"https://api.github.com/users/RyanCavanaugh/received_events","type":"User","site_admin":false},"open_issues":227,"closed_issues":131,"state":"open","created_at":"2018-08-08T22:47:52Z","updated_at":"2018-10-31T15:38:40Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-08-10T17:20:14Z","updated_at":"2018-10-31T15:42:17Z","closed_at":null,"author_association":"NONE","body":"```\r\n1>EXEC : error : Debug Failure.\r\n1>      at Object.assertDefined (C:\\dev\\epro\\packages\\Microsoft.TypeScript.MSBuild.3.0.0\\tools\\tsc\\tsc.js:1394:24)\r\n1>      at C:\\dev\\epro\\packages\\Microsoft.TypeScript.MSBuild.3.0.0\\tools\\tsc\\tsc.js:13822:84\r\n1>      at String.replace (<anonymous>)\r\n1>      at formatStringFromArgs (C:\\dev\\epro\\packages\\Microsoft.TypeScript.MSBuild.3.0.0\\tools\\tsc\\tsc.js:13822:21)\r\n1>      at Object.createCompilerDiagnostic (C:\\dev\\epro\\packages\\Microsoft.TypeScript.MSBuild.3.0.0\\tools\\tsc\\tsc.js:13863:20)\r\n1>      at checkSourceFilesBelongToPath (C:\\dev\\epro\\packages\\Microsoft.TypeScript.MSBuild.3.0.0\\tools\\tsc\\tsc.js:83705:55)\r\n1>      at Object.getCommonSourceDirectory (C:\\dev\\epro\\packages\\Microsoft.TypeScript.MSBuild.3.0.0\\tools\\tsc\\tsc.js:82379:21)\r\n1>      at Object.getExternalModuleNameFromPath (C:\\dev\\epro\\packages\\Microsoft.TypeScript.MSBuild.3.0.0\\tools\\tsc\\tsc.js:10438:84)\r\n1>      at Object.tryGetModuleNameFromFile (C:\\dev\\epro\\packages\\Microsoft.TypeScript.MSBuild.3.0.0\\tools\\tsc\\tsc.js:59905:40)\r\n1>      at transformAMDModule (C:\\dev\\epro\\packages\\Microsoft.TypeScript.MSBuild.3.0.0\\tools\\tsc\\tsc.js:72674:33)\r\n1>  \r\n1>  [18:16:08] 'build-typescript' errored after 2.65 s\r\n1>  [18:16:08] Error: Command failed: node \"../packages/Microsoft.TypeScript.MSBuild.3.0.0/tools/tsc/tsc.js\" -b --verbose Framework/Framework.tsconfig.json\r\n1>  C:\\dev\\epro\\packages\\Microsoft.TypeScript.MSBuild.3.0.0\\tools\\tsc\\tsc.js:82937\r\n1>                  throw e;\r\n1>                  ^\r\n```\r\n\r\nI'm experimenting with trying to upgrade our solution (25 seconds build time) to --build. I've started with one specific module, looking to pull that out of our monolith.\r\n\r\nHere are the three tsconfig files involved:\r\n\r\nbase.tsconfig\r\n```\r\n{\r\n    \"compilerOptions\": {\r\n        \"experimentalDecorators\": true,\r\n        \"module\": \"amd\",\r\n        \"moduleResolution\": \"node\",\r\n        \"noEmitOnError\": true,\r\n        \"noImplicitAny\": true,\r\n        \"outFile\": \"build/typescript.js\",\r\n        \"removeComments\": false,\r\n        \"sourceMap\": true,\r\n        \"target\": \"es5\",\r\n        \"allowUnreachableCode\": false,\r\n        \"noImplicitReturns\": true,\r\n        \"baseUrl\": \"./\",\r\n        //\"strictNullChecks\": true,\r\n        \"noImplicitThis\": true,\r\n        \"noUnusedLocals\": true,\r\n        \"noUnusedParameters\": true,\r\n        //\"skipLibCheck\": true,\r\n        \"lib\": [ \"dom\", \"es5\", \"es2015.promise\" ]\r\n    },\r\n    \"compileOnSave\": false,\r\n    \"exclude\": [ \"node_modules\" ]\r\n}\r\n```\r\n\r\ntsconfig\r\n```\r\n{\r\n    \"extends\": \"./base.tsconfig.json\",\r\n    \"include\": [\r\n        \"App/Require.ts\",\r\n        \"**/*.ts\",\r\n        \"**/*.d.ts\"\r\n    ],\r\n    \"exclude\": [\r\n        \"Framework/*.ts\"\r\n    ],\r\n    \"references\": [\r\n        {\r\n            \"path\": \"Framework/Framework.tsconfig.json\"\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\nFramework.tsconfig.json\r\n```\r\n{\r\n  \"extends\": \"../base.tsconfig.json\",\r\n  \"exclude\": [\r\n      \"../node_modules\",\r\n      \"../Framework/AsyncResponse.ts\",\r\n      \"../Framework/DispatchPromise.ts\",\r\n      \"../Framework/Framework.ts\",\r\n      \"../Framework/Cache.ts\",\r\n      \"../Framework/CacheContent.ts\",\r\n      \"../Framework/CacheReducer.ts\",\r\n      \"../Framework/Component.ts\",\r\n      \"../Framework/Connection.ts\",\r\n      \"../Framework/ConnectionBuilder.ts\",\r\n      \"../Framework/Editor.ts\",\r\n      \"../Framework/LoadingProps.ts\",\r\n      \"../Framework/TextInsertionFormatting.ts\",\r\n      \"../Specs/Framework/CacheReducerTests.ts\",\r\n      \"../Specs/Framework/CacheTests.ts\",\r\n      \"../Specs/Framework/ColumnMatcherTests.ts\",\r\n      \"../Specs/Framework/ConnectionTests.ts\",\r\n      \"../Specs/Framework/ConnectionBuilderTests.ts\",\r\n      \"../Specs/Framework/DispatchPromiseTests.ts\",\r\n      \"../Specs/Framework/LoadingPropsTests.ts\"\r\n  ],\r\n    \"include\": [\r\n        \"../redux.ts\",\r\n        \"../react-redux.ts\",\r\n        \"../Specs/Helpers/MockClock.ts\",\r\n        \"../Framework/*.ts\",\r\n        \"../Specs/Framework/*.ts\",\r\n        \"../Dependencies/moment.d.ts\",\r\n        \"../Dependencies/jquery.cookie.d.ts\",\r\n        \"../Dependencies/rangy-core.d.ts\",\r\n        \"../Dependencies/jquery.d.ts\",\r\n        \"../Dependencies/underscore.string.d.ts\",\r\n        \"../Dependencies/underscore.d.ts\",\r\n        \"../Dependencies/jasmine.d.ts\",\r\n        \"../Dependencies/JasmineAddons.d.ts\",\r\n        \"../Dependencies/react.d.ts\",\r\n        \"../Dependencies/redux.d.ts\",\r\n        \"../Dependencies/react-redux.d.ts\",\r\n        \"../Dependencies/react-dom.d.ts\"\r\n    ],\r\n    \"compilerOptions\": {\r\n        \"experimentalDecorators\": true,\r\n        \"strictNullChecks\": true,\r\n        \"composite\": true,\r\n        \"declaration\": true,\r\n        \"outFile\": \"../build/framework.js\"\r\n    }\r\n}\r\n```\r\n\r\nNot sure what further information is needed, let me know in a comment and I'll try to provide."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/434737224","html_url":"https://github.com/Microsoft/TypeScript/issues/26363#issuecomment-434737224","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26363","id":434737224,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDczNzIyNA==","user":{"login":"sheetalkamat","id":8052792,"node_id":"MDQ6VXNlcjgwNTI3OTI=","avatar_url":"https://avatars2.githubusercontent.com/u/8052792?v=4","gravatar_id":"","url":"https://api.github.com/users/sheetalkamat","html_url":"https://github.com/sheetalkamat","followers_url":"https://api.github.com/users/sheetalkamat/followers","following_url":"https://api.github.com/users/sheetalkamat/following{/other_user}","gists_url":"https://api.github.com/users/sheetalkamat/gists{/gist_id}","starred_url":"https://api.github.com/users/sheetalkamat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheetalkamat/subscriptions","organizations_url":"https://api.github.com/users/sheetalkamat/orgs","repos_url":"https://api.github.com/users/sheetalkamat/repos","events_url":"https://api.github.com/users/sheetalkamat/events{/privacy}","received_events_url":"https://api.github.com/users/sheetalkamat/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T15:42:17Z","updated_at":"2018-10-31T15:42:17Z","author_association":"MEMBER","body":"@markboyall can you please share small repro?\r\nNeed source structure (apart from tsconfig what do source files look like)\r\nWhich project are you trying to build that causes this exception?"}}
{"actor":{"display_login":"sheetalkamat"}}