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
ModuleBuildError: Module build failed (from ./node_modules/@storybook/mdx2-csf/loader.js):
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".json" for \node_modules\character-entities-legacy\index.json
at new NodeError (node:internal/errors:371:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:87:11)
at defaultGetFormat (node:internal/modules/esm/get_format:102:38)
at defaultLoad (node:internal/modules/esm/load:21:14)
at ESMLoader.load (node:internal/modules/esm/loader:359:26)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:280:58)
at new ModuleJob (node:internal/modules/esm/module_job:66:26)
at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:297:17)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:261:34)
at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:81:21)
at processResult (\node_modules\webpack\lib\NormalModule.js:758:19)
at \node_modules\webpack\lib\NormalModule.js:860:5
at \node_modules\loader-runner\lib\LoaderRunner.js:400:11
at \node_modules\loader-runner\lib\LoaderRunner.js:252:18
at context.callback \node_modules\loader-runner\lib\LoaderRunner.js:124:13)
at Object.loader (\node_modules\@storybook\mdx2-csf\loader.js:26:12)
WARN Broken build, fix the error above.
WARN You may need to refresh the browser.
The text was updated successfully, but these errors were encountered:
In attempt to clean up old issue, I will be closing this one. We've made lots of improvements in Storybook since 7.0 so it's quite likely that this issue has been resolved already. If this is still a problem, please open a new issue with reproduction steps for 7.x version. Thank you!
Not able to load MDX file in v6.5.8
To Reproduce
file.stories.mdx
main.js
System
Please paste the results of
npx sb@next info
here.Error
The text was updated successfully, but these errors were encountered: