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
Based on the closed issue, #16, I thought React v16 was supported, but I just received the following exception when trying to start storybook after installing react-storybook-addon-chapters v2.0.0 from npm:
ERROR in ./node_modules/markdown-to-react-components/src/CodeComponent.js
Module not found: Error: Can't resolve 'create-react-class' in 'D:\dev\H-D\revival-tis\te-revival\node_modules\markdown-to-react-components\src'
@ ./node_modules/markdown-to-react-components/src/CodeComponent.js 2:23-52
@ ./node_modules/markdown-to-react-components/src/index.js
@ ./node_modules/react-storybook-addon-chapters/dist/utils/info-content.js
@ ./node_modules/react-storybook-addon-chapters/dist/components/Story.js
@ ./node_modules/react-storybook-addon-chapters/dist/index.js
@ ./.storybook/config.js
@ multi ./node_modules/@storybook/react/dist/server/config/polyfills.js ./node_modules/@storybook/react/dist/server/config/globals.js (webpack)-hot-middleware/client.js?reload=true ./.storybook/config.js
It appears that markdown-to-react-components hasn't been supporting React since 15.6.1 and Marksy is the replacement.
@storybook/react is v3.2.14.
The text was updated successfully, but these errors were encountered:
Update: I can add create-react-class as a peer dependency, but that's not ideal since it's depreciated. Can the markdown component be switched to Marksy?
Yup, shouldn't have caused any install errors as the package.json is referencing a specific hash in the repo (which was still compatible). It's one of the last upgrades to swap over.
Based on the closed issue, #16, I thought React v16 was supported, but I just received the following exception when trying to start storybook after installing
react-storybook-addon-chapters
v2.0.0 from npm:It appears that
markdown-to-react-components
hasn't been supporting React since 15.6.1 and Marksy is the replacement.@storybook/react
is v3.2.14.The text was updated successfully, but these errors were encountered: