Skip to content

Travis ci build failure due to @vue/babel-preset-app/index.js provided an invalid property of "default"  #4121

Closed
@oGsLP

Description

@oGsLP

When I run npm test on my pc , everything works well. But on Travis CI it failed, it seemed to be related to @vue/babel-preset-app, but I don't know how to fix it. And I can't find similar problems online.

> vue-cli-service test:unit
 FAIL  src/components/button/button.spec.js
  ● Test suite failed to run
    Plugin 1 specified in "/home/travis/build/oGsLP/latios/node_modules/@vue/babel-preset-app/index.js" provided an invalid property of "default" (While processing preset: "/home/travis/build/oGsLP/latios/node_modules/@vue/babel-preset-app/index.js")
      at Plugin.init (node_modules/jest-config/node_modules/babel-core/lib/transformation/plugin.js:131:13)
          at Array.map (<anonymous>)
          at Array.map (<anonymous>)
 FAIL  tests/unit/test.spec.js
  ● Test suite failed to run
    Plugin 1 specified in "/home/travis/build/oGsLP/latios/node_modules/@vue/babel-preset-app/index.js" provided an invalid property of "default" (While processing preset: "/home/travis/build/oGsLP/latios/node_modules/@vue/babel-preset-app/index.js")
      at Plugin.init (node_modules/jest-config/node_modules/babel-core/lib/transformation/plugin.js:131:13)
          at Array.map (<anonymous>)
          at Array.map (<anonymous>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions