-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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-cli init | [.babelrc] Missing helper: "if_or" #794
Comments
Can't reproduce. I used the exact same prompt options and it works as expected. This seems quite weird because the helper is obviously defined and it's been there for over a month. Likely a cache related issue, looks like your network fetched some outdated files. |
I uninstalled my node, yarn, vue-cli and all related dependencies and installed again, the problem still is happening. Here is others with the same problem than me: vuejs-templates/webpack#1188 Any idea? |
Solved. I was trying to install vue-cli via yarn, but have been unsuccessful. |
@andersonaguiar does it means vue-cli can't be installed via yarn? Installation for me is "successful" (minor some errors). But then vue init fails at the step you said. |
Yeah, same deal here, it seems that |
the same error, use yarn global add @vue/cli use npm install -g @vue/cli is ok |
Version
3.0.0-alpha.9
Reproduction link
https://d2ffutrenqvap3.cloudfront.net/items/0X3h1G1G381I163G1N3t/Image%202018-02-07%20at%202.50.42%20pm.png?v=a31218fa
Steps to reproduce
vue init webpack common
(enter till the end)
What is expected?
Generate the project
What is actually happening?
vue-cli · [.babelrc] Missing helper: "if_or"
The text was updated successfully, but these errors were encountered: