-
-
Notifications
You must be signed in to change notification settings - Fork 420
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
vue-inbrowser-compiler-demi@4.44.21 issue #1295
Comments
Are you working with a monorepo? |
If you install vue-styleguidist or vue live, you are normally responsible for installing vue. This is vue-Demi telling you it cannot find vue nor detect its version. I should make this error more meaningful. Can you try and share a repo where I could reproduce this error? If not, best advice is add vue to the dev dependencies of the project where you run styleguidist. |
One thing that could be done here is to wrap this require in a try-catch like in vue-Demi. This way we could make this "error" silent and still have most of vue-styleguidist working. I am surprised by the path where the compiler-Demi is installed. I must be missing an important detail. If you take the time to open a PR I'd be delighted. Thank you for reporting anyway. |
Update: I was able to fix my issue by removing all storybook js dependencies from my package.json. I'm not using storybook in my app currently so it wasn't a big issue. |
Thanks for the input but I am using storybook in my project. So I can't really remove any storybook dependencies. |
Thanks for the response. I am not using styleguidlist/vue-live. But I assume any one of my dependencies might be using these packages, but it worked fine when I added vue as devDependency. |
can you do version 4.44.22 should not need the installation of |
Thanks for the quick response. Yeah it's working fine now without 'vue' |
Current behavior
Hi I am working in one of the React Project, It seems like vue-inbrowser-compiler-demi has been updated recently. So I am getting below error whenever I try to do npm install
node version: 12.16.1
npm version: 6.13.4
Any suggestions to fix this issue would be very helpful.
Thanks in advance.
To reproduce
Expected behavior
The text was updated successfully, but these errors were encountered: