Closed lhmbe closed 2 years ago
Could you please share tsconfig.wallaby.spec.json
?
The only way I can reproduce your issue is not having apps/xxxxx-shared/src/test.ts
in files
of tsconfig.wallaby.spec.json
. Could you please check that it is there?
This is the tsconfig.wallaby.spec.json file:
{ "extends": "./tsconfig.json", "compilerOptions": { "types": ["jasmine", "node"] }, "files": [ "apps/francis-web/src/test.ts", "apps/francis-mobile/src/test.ts", "apps/francis-shared/test.ts", "polyfills.ts" ], "include": ["**/*.spec.ts", "**/*.mock.ts", "**/*.mock-impl.ts", "**/*.d.ts"], "exclude": ["apps/francis-web/e2e/**/*"] }
Thanks for reporting the issue. It is fixed and the fix is published in the latest core version.
Issue description or question
Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: ./apps/xx/src/test.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. at ./node_modules/@ngtools/webpack/src/ivy/loader.js:59:26 at processTicksAndRejections (node:internal/process/task_queues:95:5) at runNextTicks (node:internal/process/task_queues:64:3) at process.processImmediate (node:internal/timers:442:9) @ ./apps/francis-shared/src/test.ts
Wallaby diagnostics report