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

BABEL unkown option #11111

sts-ryan-holton opened this issue Feb 8, 2020 · 2 comments

BABEL unkown option #11111

sts-ryan-holton opened this issue Feb 8, 2020 · 2 comments


Copy link

@sts-ryan-holton sts-ryan-holton commented Feb 8, 2020

Environment info

    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Node: 10.15.3 - /usr/local/bin/node
    Yarn: 1.5.1 - /usr/local/bin/yarn
    npm: 6.13.4 - /usr/local/bin/npm
    Chrome: 79.0.3945.130
    Firefox: 72.0.2
    Safari: 13.0.2
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0 
    @vue/babel-plugin-transform-vue-jsx:  1.1.2 
    @vue/babel-preset-app:  4.1.2 (3.12.1)
    @vue/babel-preset-jsx:  1.1.2 
    @vue/babel-sugar-functional-vue:  1.1.2 
    @vue/babel-sugar-inject-h:  1.1.2 
    @vue/babel-sugar-v-model:  1.1.2 
    @vue/babel-sugar-v-on:  1.1.2 
    @vue/cli-overlay:  4.1.2 
    @vue/cli-plugin-babel: ^4.1.0 => 4.1.2 
    @vue/cli-plugin-eslint: ^4.1.0 => 4.1.2 
    @vue/cli-plugin-router:  4.1.2 
    @vue/cli-plugin-vuex:  4.1.2 
    @vue/cli-service: ^4.1.0 => 4.1.2 
    @vue/cli-shared-utils:  4.1.2 
    @vue/component-compiler:  3.6.0 
    @vue/component-compiler-utils:  3.1.1 (2.6.0)
    @vue/preload-webpack-plugin:  1.1.1 
    @vue/test-utils: ^1.0.0-beta.31 => 1.0.0-beta.31 
    @vue/web-component-wrapper:  1.2.0 
    eslint-plugin-vue: ^5.0.0 => 5.2.3 
    rollup-plugin-vue:  4.7.2 
    vue: 2.6.11 => 2.6.11 
    vue-cli-plugin-p11n: ^0.4.0 => 0.4.0 
    vue-eslint-parser:  5.0.0 
    vue-hot-reload-api:  2.3.4 
    vue-jest: ^3.0.5 => 3.0.5 
    vue-loader:  15.8.3 
    vue-resource: 1.5.1 => 1.5.1 
    vue-router:  3.1.5 
    vue-runtime-helpers:  1.0.0 
    vue-server-renderer:  2.6.11 
    vue-style-loader:  4.1.2 
    vue-template-compiler: 2.6.11 => 2.6.11 
    vue-template-es2015-compiler:  1.9.1 
    vuepress:  1.2.0 
    vuepress-html-webpack-plugin:  3.2.0 
    vuepress-plugin-container: ^2.1.2 => 2.1.2 
    vuepress-plugin-smooth-scroll:  0.0.3 
    @vue/cli: 4.2.2

Steps to reproduce

I've got a spec file setup in my Components directory, every time I try to run the Jest commands in my Vue project created with the CLI it complains about my Babel configuration despite being the defaults:

My babel config:

module.exports = {
  presets: [

Apparently this is invalid? And commands fail with ReferenceError: [BABEL] unknown: Unknown option

What is expected?

Commands should not fail with default config

What is actually happening?

Commands are failing

I've tried changing the config and removing it, neither of these work.


This comment has been minimized.

Copy link

@babel-bot babel-bot commented Feb 8, 2020

Hey @sts-ryan-holton! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite."


This comment has been minimized.

Copy link

@JLHwung JLHwung commented Feb 9, 2020

Can you attach the complete error stack trace after the error message "ReferenceError: [BABEL] unknown: Unknown option"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.