You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to start Storybook 6.4.1, I get this error:
ModuleBuildError: Module build failed (from ./node_modules/ts-loader/index.js):
Error: TypeScript emitted no output for <app-dir>/node_modules/@adp-wfn/mdf-components/index.ts. By default, ts-loader will not compile .ts files in node_modules.
You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.
See: https://github.com/Microsoft/TypeScript/issues/12358
at makeSourceMapAndFinish (<app-dir>/node_modules/ts-loader/dist/index.js:52:18)
at successLoader (<app-dir>/node_modules/ts-loader/dist/index.js:39:5)
at Object.loader (<app-dir>/node_modules/ts-loader/dist/index.js:22:5)
at processResult (<app-dir>/node_modules/webpack/lib/NormalModule.js:751:19)
at <app-dir>/node_modules/webpack/lib/NormalModule.js:853:5
at <app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:399:11
at <app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:251:18
at context.callback (<app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:124:13)
at makeSourceMapAndFinish (<app-dir>/node_modules/ts-loader/dist/index.js:52:9)
at successLoader (<app-dir>/node_modules/ts-loader/dist/index.js:39:5)
at Object.loader (<app-dir>/node_modules/ts-loader/dist/index.js:22:5)
at LOADER_EXECUTION (<app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:132:14)
at runSyncOrAsync (<app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:133:4)
at iterateNormalLoaders (<app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:250:2)
at <app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:223:4
at <app-dir>/node_modules/webpack/lib/NormalModule.js:827:15
at Array.eval (eval at create (<app-dir>/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:12:1)
at runCallbacks (<app-dir>/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:27:15)
at <app-dir>/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:200:4
ModuleBuildError: Module build failed (from ./node_modules/ts-loader/index.js):
Error: TypeScript emitted no output for <app-dir>node_modules/@adp-wfn/mdf-core/index.ts. By default, ts-loader will not compile .ts files in node_modules.
You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.
See: https://github.com/Microsoft/TypeScript/issues/12358
at makeSourceMapAndFinish (<app-dir>/node_modules/ts-loader/dist/index.js:52:18)
at successLoader (<app-dir>/node_modules/ts-loader/dist/index.js:39:5)
at Object.loader (<app-dir>/node_modules/ts-loader/dist/index.js:22:5)
at processResult (<app-dir>/node_modules/webpack/lib/NormalModule.js:751:19)
at <app-dir>/node_modules/webpack/lib/NormalModule.js:853:5
at <app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:399:11
at <app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:251:18
at context.callback (<app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:124:13)
at makeSourceMapAndFinish (<app-dir>/node_modules/ts-loader/dist/index.js:52:9)
at successLoader (<app-dir>/node_modules/ts-loader/dist/index.js:39:5)
at Object.loader (<app-dir>/node_modules/ts-loader/dist/index.js:22:5)
at LOADER_EXECUTION (<app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:132:14)
at runSyncOrAsync (<app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:133:4)
at iterateNormalLoaders (<app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:250:2)
at <app-dir>/node_modules/loader-runner/lib/LoaderRunner.js:223:4
at <app-dir>/node_modules/webpack/lib/NormalModule.js:827:15
at Array.eval (eval at create (<app-dir>/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:12:1)
at runCallbacks (<app-dir>/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:27:15)
at /Users/hoytk/git/wc-test/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:200:4
To Reproduce
I'll see if I can boil this down at all, but all I did was update from 6.3.12 to 6.4.1 and boom.
Describe the bug
When trying to start Storybook 6.4.1, I get this error:
To Reproduce
I'll see if I can boil this down at all, but all I did was update from 6.3.12 to 6.4.1 and boom.
System
Additional context
This is our main.js:
The text was updated successfully, but these errors were encountered: