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

npm v1.1.5 errors with "Version 2.x only supports webpack 5" #290

Closed
sean256 opened this issue Nov 3, 2021 · 1 comment
Closed

npm v1.1.5 errors with "Version 2.x only supports webpack 5" #290

sean256 opened this issue Nov 3, 2021 · 1 comment

Comments

@sean256
Copy link

sean256 commented Nov 3, 2021

Environment and package version

webpack: v4.x
html-inline-script-webpack-plugin: v1.1.5

Reproduction link / code sample

No need to actually run a build, just look at the code for index.js npm installs:

npm i html-inline-script-webpack-plugin@^1 -D
cat node_modules/html-inline-script-webpack-plugin/dist/index.js

Or download directly: https://registry.npmjs.org/html-inline-script-webpack-plugin/-/html-inline-script-webpack-plugin-1.1.5.tgz

What is expected?

It should not claim to be version 2 and should not claim that webpack 5 is required

What is actually happening?

It claims to be v2

icelam added a commit that referenced this issue Nov 4, 2021
* Remarks: re-publish of 1.1.5 due to issue #290
@icelam
Copy link
Owner

icelam commented Nov 4, 2021

@sean256 I have publish v1.1.6 to fix the broken version. Welcome to reopen the issue anytime if the issue still exists.

@icelam icelam closed this as completed Nov 4, 2021
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