Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка с typescript@>v5 #23

Closed
ghettojezuz opened this issue May 11, 2023 · 0 comments
Closed

Ошибка с typescript@>v5 #23

ghettojezuz opened this issue May 11, 2023 · 0 comments
Assignees

Comments

@ghettojezuz
Copy link

ghettojezuz commented May 11, 2023

Проблема: при обновлении в проекте зависимости typescript с v4 до v5.0.4 столкнулся со следующей ошибкой при выполнении скрипта arui-scripts start (на самом деле и с другими командами проявляется)

TypeError: Cannot set property mark of #<Object> which has only a getter
    at Object.connectTypeScriptPerformance (./node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/profile/TypeScriptPerformance.js:12:36)
    at createTypeScriptReporter (./node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/reporter/TypeScriptReporter.js:40:49)
    at Object.<anonymous> (./node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:21:30)
    at Generator.next (<anonymous>)
    at ./node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (./node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:4:12)
    at ./node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:19:88
    at Object.<anonymous> (./node_modules/fork-ts-checker-webpack-plugin/lib/rpc/RpcService.js:23:38)
    at Generator.next (<anonymous>)

Она ничего не ломает, но становится грязно в логах, и убрать ее не помешает.
Ругается на зависимость fork-ts-checker-webpack-plugin. Погуглив, нашел такой issue: TypeStrong/fork-ts-checker-webpack-plugin#797
При обновлении зависимости fork-ts-checker-webpack-plugin до v6.5.3 ошибка пропадает.

@Echzio Echzio self-assigned this May 12, 2023
@Echzio Echzio closed this as completed in 4dd49aa May 15, 2023
Echzio added a commit that referenced this issue May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants