quasarframework / quasar-testing

Testing Harness App Extensions for the Quasar Framework 2.0+
https://testing.quasar.dev
MIT License
179 stars 66 forks source link

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

Closed khteh closed 5 months ago

khteh commented 5 months ago

Software version

OS: Ubuntu 23.10 Node: 21.5.0 NPM: 10.4.0 Any other software related to your bug:

What did you get as the error?

n run dev sees the following TypeError but it does NOT stop the app from working properly:

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>)

What were you expecting?

No such dubious error

What steps did you take, to get the error?

IlCallo commented 5 months ago

This definitely isn't a problem related to quasar testing Your development environment is seriously messed up, and the fact that you're using both Node and Ubuntu experimental release to develop (which we don't usually support on purpose) makes it even more difficult to reproduce the issues you report, as well as the lack of repros in pretty much your issues

In this case in particular, it's unclear why would you have a src and node modules folder at user level That will mess up all projects you have in nested folders and cause every kind of undebuggable and environment related issue for which we can't help in any way

Please fix/reset your whole development environment to use non-experimental released, start providing repros, then we can help you

khteh commented 5 months ago

it's unclear why would you have a src and node modules folder at user level

What do you mean? /usr/src/ is my workspace and khteh is the folder where the repo https://github.com/khteh/quasar is cloned.