Closed nahcyrret closed 1 year ago
Hello @nahcyrret , Please Upgrade the demo package.json
to latest typescript and ts-loader versions.
"ts-loader": "^9.4.2",
"typescript": "^4.8.4",
Feel free to reach out if you have any other queries.
I still got the errors after updating the versions as shown.
These are also the same version issues and should be fixed. Try reinstalling the node-modules. If still facing the same issue, please provide more context to repro the issue.
I just installed the Latest LTS Version: 18.15.0 (includes npm 9.5.0) for Windows from https://nodejs.org/en/download
Compiled with problems: × ERROR in C:\GitHub\powerbi-client-react-master\demo\node_modules\@types\node\ts4.8\test.d.ts [tsl] ERROR in C:\GitHub\powerbi-client-react-master\demo\node_modules\@types\node\ts4.8\test.d.ts(680,34) TS1005: '?' expected. ERROR in C:\GitHub\powerbi-client-react-master\demo\node_modules\@types\node\ts4.8\test.d.ts [tsl] ERROR in C:\GitHub\powerbi-client-react-master\demo\node_modules\@types\node\ts4.8\test.d.ts(681,17) TS1005: ':' expected. ERROR in C:\GitHub\powerbi-client-react-master\demo\node_modules\@types\node\ts4.8\test.d.ts [tsl] ERROR in C:\GitHub\powerbi-client-react-master\demo\node_modules\@types\node\ts4.8\test.d.ts(682,17) TS1005: ',' expected. ERROR in C:\GitHub\powerbi-client-react-master\demo\node_modules\@types\node\ts4.8\test.d.ts [tsl] ERROR in C:\GitHub\powerbi-client-react-master\demo\node_modules\@types\node\ts4.8\test.d.ts(685,34) TS1005: '?' expected. ...
I got the above errors after running "npm run demo". Are there really that syntax errors in test.d.ts? How to fix this problem?