Title: Error while building a Typescript 2.1.4 project (React, Webpack, Babel) · Issue #12749 · microsoft/TypeScript · GitHub
Open Graph Title: Error while building a Typescript 2.1.4 project (React, Webpack, Babel) · Issue #12749 · microsoft/TypeScript
X Title: Error while building a Typescript 2.1.4 project (React, Webpack, Babel) · Issue #12749 · microsoft/TypeScript
Description: TypeScript Version: 2.1.4 ERROR in ./src/index.tsx Module build failed: SyntaxError: /Users/xxx/src/index.tsx: Unexpected token (11:28) 9 | var store = store_1["default"](); 10 | function render() { > 11 | ReactDOM.render(( Open Graph Description: TypeScript Version: 2.1.4 ERROR in ./src/index.tsx Module build failed: SyntaxError: /Users/xxx/src/index.tsx: Unexpected token (11:28) 9 | var store = store_1["default"](); 10 | function render() ...
X Description: TypeScript Version: 2.1.4 ERROR in ./src/index.tsx Module build failed: SyntaxError: /Users/xxx/src/index.tsx: Unexpected token (11:28) 9 | var store = store_1["default"](); 10 | function...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/12749
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error while building a Typescript 2.1.4 project (React, Webpack, Babel)","articleBody":"**TypeScript Version:** 2.1.4\r\n\r\n``` \r\nERROR in ./src/index.tsx\r\nModule build failed: SyntaxError: /Users/xxx/src/index.tsx: Unexpected token (11:28)\r\n9 | var store = store_1[\"default\"]();\r\n 10 | function render() {\r\n> 11 | ReactDOM.render((\u003cRoot_1[\"default\"] store={store}/>), document.getElementById('app-container'));\r\n | ^\r\n 12 | }\r\n 13 | render();\r\n 14 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanN4Iiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW5kZXgudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw2QkFBK0I7QUFDL0Isb0NBQXNDO0FBRXRDLDZCQUEy\r\n```\r\n\r\n```\r\n/Users/xxx/node_modules/typescript/lib/typescript.js:3177\r\n throw new Error(\"Debug Failure. False expression: \" + (message || \"\") + verboseDebugString);\r\n ^\r\n\r\nError: Debug Failure. False expression: File has unknown extension.\r\n```\r\n\r\n\r\nWe upgraded to Typescript 2.1.4 and this error happens when building our project with webpack. We are using React 15.4.1 and babel 6.18.0.\r\n\r\nAfter rolling back to the old version we used everything works normally (2.0.3).\r\n\r\n","author":{"url":"https://github.com/ottoo","@type":"Person","name":"ottoo"},"datePublished":"2016-12-08T07:48:30Z","url":"https://github.com/microsoft/TypeScript/issues/12749"}
react-profiling 0 react-import-map react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:8b8fe66d-f691-6f37-32a9-9bc9194f4cb5 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 96EC:237673:82B5A7:B0189A:6B00E200 html-safe-nonce 5ff13fc289977d57a4d52faa6bdcf34a1423fad4ae6ddcf707abb59ab797c075 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkVDOjIzNzY3Mzo4MkI1QTc6QjAxODlBOjZCMDBFMjAwIiwidmlzaXRvcl9pZCI6IjU2MDM4MjM3NjE5NTEzNTEyOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== visitor-hmac 6eaea5a54b2b291648f4c8fb5fbdb4d910056553ac6683dcc78ccd490080990c hovercard-subject-tag issue:194268461 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/12749/issue_layout twitter:image https://opengraph.githubassets.com/ec1ad647e36d322ffd580f524c50afa26caeadabb8c6a2903a1f255c98817757/microsoft/TypeScript/issues/12749 twitter:card summary_large_image og:image https://opengraph.githubassets.com/ec1ad647e36d322ffd580f524c50afa26caeadabb8c6a2903a1f255c98817757/microsoft/TypeScript/issues/12749 og:image:alt TypeScript Version: 2.1.4 ERROR in ./src/index.tsx Module build failed: SyntaxError: /Users/xxx/src/index.tsx: Unexpected token (11:28) 9 | var store = store_1["default"](); 10 | function render() ... og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username ottoo hostname github.com expected-hostname github.com None 043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf turbo-cache-control no-preview go-import github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git octolytics-dimension-user_id 6154722 octolytics-dimension-user_login microsoft octolytics-dimension-repository_id 20929025 octolytics-dimension-repository_nwo microsoft/TypeScript octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 20929025 octolytics-dimension-repository_network_root_nwo microsoft/TypeScript turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 5425dc24e8bd8d6fca9641a12afc984825a43875 ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
URLs of crawlers that visited me.