Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'prismjs/components/' at storybook-addon-markdown-docs/node_modules/@mdjs/core/src/mdjsProcess.js:17:23 #2436

Open
burakhanalkan opened this issue Apr 20, 2022 · 0 comments

Comments

@burakhanalkan
Copy link

Expected behavior

@web/dev-server-storybook plugin should work with @web/dev-server according to the documentation.

Actual Behavior

@web/dev-server-storybook plugin has storybook-addon-markdown-docs dependency.
storybook-addon-markdown-docs has @mdjs/core dependency.
In @mdjs/core/src/mdjsProcess.js:17:23, prismjs/components module is used but it's not added as a dependency in package.json. Therefore, this module cannot be found, when using @web/dev-server-storybook.

Additional context

"@web/dev-server": "^0.1.30",
"@web/dev-server-storybook": "^0.5.0",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant