Module not found: Error: Can't resolve 'antd/lib/version/style' in '/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/antd-img-crop/dist' #241
Module not found: Error: Can't resolve 'antd/lib/version/style' in '/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/antd-img-crop/dist'
after bumping to 4.12.2 this error occures: seems like something internal maybe?
up to date, audited 2569 packages in 3s
287 packages are looking for funding
run `npm fund` for details
14 vulnerabilities (2 moderate, 11 high, 1 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
> therapy-manager@0.1.0 build
> craco build
Creating an optimized production build...
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 (/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/profile/TypeScriptPerformance.js:12:36)
at createTypeScriptReporter (/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/reporter/TypeScriptReporter.js:40:49)
at Object.<anonymous> (/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:21:30)
at Generator.next (<anonymous>)
at /Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:4:12)
at /Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:19:88
at Object.<anonymous> (/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/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 (/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/profile/TypeScriptPerformance.js:12:36)
at createTypeScriptReporter (/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/reporter/TypeScriptReporter.js:40:49)
at Object.<anonymous> (/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:21:30)
at Generator.next (<anonymous>)
at /Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:4:12)
at /Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:19:88
at Object.<anonymous> (/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/RpcService.js:23:38)
at Generator.next (<anonymous>)
Failed to compile.
Module not found: Error: Can't resolve 'antd/lib/version/style' in '/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/antd-img-crop/dist'
➜ frontend git:(dependabot-docker-02_Software-TherapyManager-backend-node-19.8.1-alpine) ✗
Module not found: Error: Can't resolve 'antd/lib/version/style' in '/Users/vcp/IdeaProjects/therapydesigner/02_Software/TherapyManager/frontend/node_modules/antd-img-crop/dist'
after bumping to 4.12.2 this error occures: seems like something internal maybe?