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
[Bug]: error npm install @storybook/addon-mdx-gfm@7.6.18 #26929
Comments
I was facing the same issue by upgrading to
It's only a matter of installing + import remarkGfm from 'remark-gfm';
// Replace your-framework with the framework you are using (e.g., react-webpack5, vue3-vite)
import type { StorybookConfig } from '@storybook/your-framework';
const config: StorybookConfig = {
framework: '@storybook/your-framework',
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
addons: [
// Other addons go here
+ {
+ name: '@storybook/addon-docs',
+ options: {
+ mdxPluginOptions: {
+ mdxCompileOptions: {
+ remarkPlugins: [remarkGfm],
+ },
+ },
+ },
+ },
],
};
export default config; You've to use the |
@marcomontalbano Thanks! |
It seems this issue related to some sort of changes in major version API's , in releases sequence I found 4 solutions to resolve this.
npm install @storybook/addon-mdx-gfm@7.6.18 --loglevel verbose && npm install --loglevel verbose OR yarn add @storybook/addon-mdx-gfm@7.6.18 --verbose && yarn install --verbose
|
This should be fixed now in version Run |
Describe the bug
When installing
@storybook/addon-mdx-gfm@7.6.18
error is thrown287 verbose stack Error: Unsupported URL Type "workspace:": workspace:*
To Reproduce
npm install @storybook/addon-mdx-gfm@7.6.18
System
Additional context
The text was updated successfully, but these errors were encountered: