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

Module build failed: TypeError: Cannot read property 'helpers' of undefined #3126

Closed
sabrinaluo opened this issue Mar 1, 2018 · 3 comments
Closed

Comments

@sabrinaluo
Copy link

sabrinaluo commented Mar 1, 2018

Issue details

Not working with latest vue-cli generated project :(
Sorry I don't understand the error and dont know how to fix it, can anyone help? thank you in advance.

Steps to reproduce

# vue-cli@3.0.0-beta.2
vue create myApp
cd myApp
yarn serve

until here it is still working

but after running getstorybook, it's not working anymore, it couldn't build the storybook which throws errors, meanwhileyarn serve throws errors too.

Please specify which version of Storybook and optionally any affected addons that you're running

 "dependencies": {
    "vue": "^2.5.13"
  },
  "devDependencies": {
    "@storybook/addon-actions": "^3.3.14",
    "@storybook/addon-links": "^3.3.14",
    "@storybook/addons": "^3.3.14",
    "@storybook/vue": "^3.3.14",
    "@vue/cli-plugin-babel": "^3.0.0-beta.2",
    "@vue/cli-plugin-eslint": "^3.0.0-beta.2",
    "@vue/cli-plugin-unit-mocha": "^3.0.0-beta.2",
    "@vue/cli-service": "^3.0.0-beta.2",
    "@vue/eslint-config-prettier": "^3.0.0-beta.2",
    "@vue/test-utils": "^1.0.0-beta.10",
    "babel-core": "^6.26.0",
    "babel-preset-vue": "^2.0.1",
    "chai": "^4.1.2",
    "node-sass": "^4.7.2",
    "sass-loader": "^6.0.6",
    "vue-template-compiler": "^2.5.13"
  }

Affected platforms

mac os, node v9.7.0

Screenshots / Screencast / Code Snippets (Optional)

warning when run getstorybook
image

error when run yarn run storybook
image

@Hypnosphi Hypnosphi added the vue label Mar 2, 2018
@ndelangen
Copy link
Member

@sabrinaluo Looks like you're using the vue-cli 3 beta, that might be the issue.

We'll have to investigate how to fix / be compatible with this new CLI.
The Vue-loader version version-mismatch is a first point of investigation.

@stale
Copy link

stale bot commented Mar 24, 2018

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label Mar 24, 2018
@stale
Copy link

stale bot commented Apr 23, 2018

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants