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((<Root_1["default"] store={store}/>), document.getElementById('app-container'));
| ^
12 | }
13 | render();
14 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanN4Iiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW5kZXgudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw2QkFBK0I7QUFDL0Isb0NBQXNDO0FBRXRDLDZCQUEy
/Users/xxx/node_modules/typescript/lib/typescript.js:3177
throw new Error("Debug Failure. False expression: " + (message || "") + verboseDebugString);
^
Error: Debug Failure. False expression: File has unknown extension.
We 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.
After rolling back to the old version we used everything works normally (2.0.3).
Reactions are currently unavailable
TypeScript Version: 2.1.4
We 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.
After rolling back to the old version we used everything works normally (2.0.3).