storybook is failing: is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
See original GitHub issueMy storybook is failing with the upgrade.
Can someone please check below and advise?
ModuleBuildError: Module build failed (from ./node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack/src/ivy/index.js):
Error: /../src/lib/my-lib/my-test.stories.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
at ../node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack/src/ivy/loader.js:60:26
at processResult (../node_modules/@storybook/builder-webpack5/node_modules/webpack/lib/NormalModule.js:751:19)
at ../node_modules/@storybook/builder-webpack5/node_modules/webpack/lib/NormalModule.js:853:5
at ../node_modules/loader-runner/lib/LoaderRunner.js:399:11
at ../node_modules/loader-runner/lib/LoaderRunner.js:251:18
at context.callback (../node_modules/loader-runner/lib/LoaderRunner.js:124:13)
at ../node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack/src/ivy/loader.js:60:17
Issue Analytics
- State:
- Created 2 years ago
- Comments:44 (26 by maintainers)
Top Results From Across the Web
angular 13.1 stories file missing from the TypeScript compilation
ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. To Reproduce...
Read more >is missing from the TypeScript compilation. Please make sure ...
NX + Storybook: ... is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include'...
Read more >ts is missing from the TypeScript compilation. - Shadi Atawneh
ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
Read more >TypeScript - Storybook
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
Read more >ts is missing from the TypeScript compilation. Please make ...
[Solved]-ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property-angular.js.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mandarini No worries, I figured it out. The path was incorrect for my project …/**/*.stories works for me. Thanks for the help!
including polyfill.ts in files worked for me!. thank you so much for helping all the way!!