Open KrakenTyio opened 2 years ago
Hey @KrakenTyio, thanks for opening this issue! If you switch back to the default Angular builder everything works fine?
Hi, when i switch to default its work almost correct, ofc almost bc i use in custom handler for svg loader, but yes when i turn off (comment) features in project which is needed this custom loaders, everethinks work correct
i found in other threats like that https://github.com/tschaub/karma-source-map-support/issues/30#issuecomment-953219812
there is issue with this source-map-support and new ts-node version
after reading this for now i prepare my own quick prebuild file like npx tsc ./builder/webpack.extras.dev.ts
which create ./builder/webpack.extras.dev.js
and load to custom-webpack:karma this file and everethink work well
so issue is only when is setting wrote in ts
also will be nice set different tsconfig options for config ts file and different for builded project which will be tested
I locked the version of ts-node to 10.2.1 and that helped
@DmitryEfimenko How did you lock ts-node to 10.2.1?
@elliottregan in the package.json in the devDependencies in the version for the ts-node, make sure there is no ~
or ^
:
"devDependencies": {
"ts-node": "10.2.1"
}
Is there any updates for this issue?
I just tried with ts-node@10.5.0, and the issue still exists. We're stuck on ts-node@10.2.1 still...
I started a discussion on the release notes for the version of ts-node that broke this. Hoping to get more traction with the issue.
I've responded with a tiny, tested, working fix in https://github.com/TypeStrong/ts-node/discussions/1507 but no one has followed up. So the traction issue appears to be external to ts-node.
downgrading ts-node to V9 worked for me
Replacing this => "ts-node": "^10.7.0", For this => "ts-node": "10.2.1"
Worked for me.
I have this issue after migration to angular 12 dev build work correctly also production but running karma test is problem this is still reported and than stuct, browser is open but cannot continue bc. same issue is in console
karma.conf.js
angular.json
tsconfig.spec.json
tsconfig.json