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

Error: Cannot find module 'html-webpack-plugin' Require stack: #72

Open
stevemarksd opened this issue Apr 6, 2021 · 2 comments
Open

Comments

@stevemarksd
Copy link

I'm getting Error: Cannot find module 'html-webpack-plugin' Require stack:

I'm using in gatsby. Anyone knows why is requiring a module that is not specified in node_modules?

  Error: Cannot find module 'html-webpack-plugin'
  Require stack:
  - \node_modules\html-webpack-tags-plugin\index.js
  - \node_modules\gatsby-plugin-netlify-cms\gatsby-node.js

@jharris4
Copy link
Owner

jharris4 commented Apr 6, 2021

I can't speak to gatsby specific issues, but it might be a good idea for this plugin to list html-webpack-plugin as a peerDependency...

@jharris4
Copy link
Owner

jharris4 commented Apr 7, 2021

@stevemarksd version 3.0.1 has just been published to update the peerDependencies.

Provided you're already using version 3.x (which requires webpack >= 5.x) can you update your dependencies and confirm whether the issue is resolved?

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

2 participants