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

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

Open
JGrimbert opened this issue Apr 30, 2021 · 3 comments
Open

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

JGrimbert opened this issue Apr 30, 2021 · 3 comments

Comments

@JGrimbert
Copy link

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

@kostyay
Copy link

kostyay commented Jul 14, 2021

Did you end up finding a solution?
I have the same problem with vuejs

@vseverestek
Copy link

I found that webpack was installed as a project on global level. Removing that fixed the issue for me. I hope that helps.

@matictrebusak
Copy link

vseverestek Yes this helps. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants