Problem:
running "karma start karma.conf.json" with modules like watchdog (https://www.npmjs.com/package/watchdog) causes Errors:
[karma-server]: Error: Unable to resolve module [brolog] from [G:\karma-jasmine-example\node_modules\watchdog\bundles\watchdog.umd.js].
When trying to resolve this Error by adding
karmaTypescriptConfig: { include: [ "./node_modules/brolog/**/*" ] }
to the karma.config.js, the error becomes this:
[compiler.karma-typescript]: error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["./node_modules/brolog/**/*"]' and 'exclude' paths were '["node_modules"]'.
Even if I specifically included it.
Environment: OS: Win10 NPM: 9.1.2 TypeScript: 4.9.4 karma-typescript: 5.5.3
Problem: running "karma start karma.conf.json" with modules like watchdog (https://www.npmjs.com/package/watchdog) causes Errors:
[karma-server]: Error: Unable to resolve module [brolog] from [G:\karma-jasmine-example\node_modules\watchdog\bundles\watchdog.umd.js].
When trying to resolve this Error by addingkarmaTypescriptConfig: { include: [ "./node_modules/brolog/**/*" ] }
to the karma.config.js, the error becomes this:[compiler.karma-typescript]: error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["./node_modules/brolog/**/*"]' and 'exclude' paths were '["node_modules"]'.
Even if I specifically included it.Reproduction:
git clone https://github.com/galiron/karma-jasmine-example
npm i
karma start karma.conf.js
To reproduce step 1 of the problem, you simply need to remove the karmaTypescriptConfig in the
karma.conf.js
Log