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

TypeError: Cannot set property mark of #<Object> which has only a getter #838

Open
khteh opened this issue Feb 1, 2024 · 4 comments
Open
Labels

Comments

@khteh
Copy link

khteh commented Feb 1, 2024

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
@khteh khteh added the bug label Feb 1, 2024
@toresenneseth
Copy link

Same issue here. Anyone found a fix / workaround?

@ThulinaWickramasinghe
Copy link

ThulinaWickramasinghe commented Mar 21, 2024

I'm facing a similar issue but I'm using "react": "^18.1.0", with storybook and webpack.

image

@dominik-zeglen
Copy link

Hey, I've got the same problem in 6.4.2 but it stopped happening after updating to 6.5.3

@brayovsky
Copy link

The issue and other typescript 5 related issues were fixed in version 6.5.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants