`TypeError: Cannot set property mark of #<Object> which has only a getter`
khteh opened this issue · comments
Teh Kok How commented
Current behavior
Hit the following error on Quasar Vue.JS:
TypeError: Cannot set property mark of #<Object> which has only a getter
TypeError: Cannot set property mark of #<Object> which has only a getter
at Object.connectTypeScriptPerformance (/usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/profile/TypeScriptPerformance.js:12:36)
at createTypeScriptReporter (/usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/reporter/TypeScriptReporter.js:40:49)
at Object.<anonymous> (/usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:21:30)
at Generator.next (<anonymous>)
at /usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:8:71
at new Promise (<anonymous>)
at __awaiter (/usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:4:12)
at /usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:19:88
at Object.<anonymous> (/usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/RpcService.js:23:38)
at Generator.next (<anonymous>)
TypeError: Cannot set property mark of #<Object> which has only a getter
TypeError: Cannot set property mark of #<Object> which has only a getter
at Object.connectTypeScriptPerformance (/usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/profile/TypeScriptPerformance.js:12:36)
at createTypeScriptReporter (/usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/reporter/TypeScriptReporter.js:40:49)
at Object.<anonymous> (/usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:21:30)
at Generator.next (<anonymous>)
at /usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:8:71
at new Promise (<anonymous>)
at __awaiter (/usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:4:12)
at /usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:19:88
at Object.<anonymous> (/usr/src/khteh/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/RpcService.js:23:38)
at Generator.next (<anonymous>)
Expected behavior
No error
Steps to reproduce the issue
https://github.com/khteh/quasar
Issue reproduction repository
Environment
- fork-ts-checker-webpack-plugin: [version from the
package.json
] Not installed explicitly - typescript: [version from the
package.json
] 5.3.3 - eslint: [version from the
package.json
] 8.56.0 - webpack: [version from the
package.json
] "@quasar/app-webpack": "^3.12.3", - os: [e.g. Ubuntu 19.04] 23.10
Tore Senneseth commented
Same issue here. Anyone found a fix / workaround?
Thulina Wickramasinghe commented
Dominik Żegleń commented
Hey, I've got the same problem in 6.4.2
but it stopped happening after updating to 6.5.3
Muthui Muthengi commented
The issue and other typescript 5 related issues were fixed in version 6.5.3
.