Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

parser.state.module.addPresentationalDependency is not a function #102

@JGrimbert

Description

@JGrimbert

Using vue (2.6.12) with webpack (5.32.0), when using workerPlugin, I get this error:

Module parse failed: parser.state.module.addPresentationalDependency is not a function
File was processed with these loaders:
 * ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js
 * ./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js
 * ./node_modules/@vue/cli-plugin-eslint/node_modules/eslint-loader/index.js
You may need an additional loader to handle the result of these loaders.

It comes from JavascriptParserHelpers in webpack/lib/javascript ..

I will try to dig in but it's a first time approch for me on webpack

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions