JeremyRH / storybook-addon-code-editor

A Storybook add-on for live editing stories.
https://jeremyrh.github.io/storybook-addon-code-editor
MIT License
22 stars 8 forks source link

Error: Cannot find module 'monaco-editor' #30

Closed rdangol1 closed 9 months ago

rdangol1 commented 9 months ago

I am getting a cannot find module 'monaco-editor' at getStaticDir error. I have added "monaco-editor": "^0.39.0" to dependencies along with "@storybook/builder-webpack5": "^6.5.16" and "@storybook/manager-webpack5": "^6.5.16" to dev dependencies in storybook 7. Not sure I'm missing a step or doing something wrong and would appreciate some help.

JeremyRH commented 9 months ago

What package manager (plus the version) are you using?

rdangol1 commented 9 months ago

yarn 3.6.1

JeremyRH commented 9 months ago

Thanks. Are you using Plug'n'Play or Zero Installs?

rdangol1 commented 9 months ago

It's zero install. And thanks for the quick help.

JeremyRH commented 9 months ago

Should be fixed in 2.2.1. Thanks for reporting.

rdangol1 commented 9 months ago

Thank you!