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

Scripts not running due to new vue version #2

Open
andabarle opened this issue Dec 17, 2019 · 7 comments
Open

Scripts not running due to new vue version #2

andabarle opened this issue Dec 17, 2019 · 7 comments
Labels
bug Something isn't working

Comments

@andabarle
Copy link

Running either dsm-storybook publish or preview (with fresh dependency install) will throw the error:

Vue packages version mismatch:
- [email protected] (.../node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (.../node_modules/vue-template-compiler/package.json)

Both vue and vue-template-compiler were bumped to version 2.6.11 on 13 Dec 2019.

@mortal94
Copy link

Hey @andabarle ! thank you for notifying us. we've deployed version 0.0.120 of @invisionapp/dsm-storybook which addresses this issue.

@mortal94 mortal94 added the bug Something isn't working label Dec 17, 2019
@andabarle
Copy link
Author

Awesome! Thank you, @mortal94

@justdanallen
Copy link

I'm getting this same error on: "@invisionapp/dsm-storybook": "0.0.126"

We are using react components, not vue.

Error: 

Vue packages version mismatch:

- [email protected] (/Users/[email protected]/Weave/platform-ui-components/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/Users/[email protected]/Weave/platform-ui-components/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

@plmok61
Copy link

plmok61 commented Mar 6, 2020

@andabarle We are having the same issue as justdanallen. We are not using Vue at all in our project. We use React and "@invisionapp/dsm-storybook": "0.0.127"

@plmok61
Copy link

plmok61 commented Mar 6, 2020

@justdanallen as a workaround I installed [email protected]. We are not using Vue but this solved the issue.

@justdanallen
Copy link

@plmok61 Thanks for the tip! Fixed it for me as well.

@ByronGuina please fix this sometime.

@adam-zhu
Copy link

adam-zhu commented Aug 28, 2020

Error: 

Vue packages version mismatch:

- [email protected] (/Users/adamzhu/Bright/lumen/node_modules/vue/dist/vue.runtime.common.js)
- [email protected] (/Users/adamzhu/Bright/lumen/node_modules/vue-template-compiler/package.json)

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

I am seeing this issue crop up again with freshly installed dependencies set to these versions:

    "@invisionapp/dsm-storybook": "0.0.131",
    "@storybook/addon-a11y": "^5.3.21",
    "@storybook/addon-actions": "^5.3.21",
    "@storybook/addon-centered": "^5.3.21",
    "@storybook/addon-docs": "^5.3.21",
    "@storybook/addon-info": "^5.3.21",
    "@storybook/addon-knobs": "^5.3.21",
    "@storybook/addon-links": "^5.3.21",
    "@storybook/addon-options": "^5.3.21",
    "@storybook/addon-storysource": "^5.3.21",
    "@storybook/addon-viewport": "^5.3.21",
    "@storybook/addons": "^5.3.21",
    "@storybook/preset-scss": "^1.0.2",
    "@storybook/preset-typescript": "^3.0.0",
    "@storybook/react": "^5.3.21",

What resolved it was moving down the dsm version. "@invisionapp/dsm-storybook": "0.0.130"

@kimmajor kimmajor reopened this Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants