Skip to content

Module build failed: TypeError: this._init is not a function #471

@Hugo-seth

Description

@Hugo-seth

Error occurs when testing with mocks:
qq20170525-163726
I'm using the default webpack.test.conf
The vue file:
qq20170525-164016
The test file:
qq20170525-164100
The dependencies:

"inject-loader": "^3.0.0",
"vue-loader": "^11.3.4"

How can I fix this ?

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

        Participants

        @egoist@Hugo-seth

        Issue actions

          Module build failed: TypeError: this._init is not a function · Issue #471 · vuejs/vue-cli