install-webpack-plugin icon indicating copy to clipboard operation
install-webpack-plugin copied to clipboard

This package does not exist in the NPM repository

Open dengbupapapa opened this issue 3 years ago • 4 comments

hi,This package does not exist in the NPM repository, and the cloned git package does not work properly

dengbupapapa avatar Jul 26 '21 02:07 dengbupapapa

Hi @dengbupapapa , this packages is yet to be released on npm.

What is not working properly? can you provide more context with reporducible repo?

snitin315 avatar Jul 26 '21 04:07 snitin315

Hi @dengbupapapa , this packages is yet to be released on npm.

What is not working properly? can you provide more context with reporducible repo?

Here's my example: https://github.com/dengbupapapa/webpack5-install-webpack-plugin-example/tree/main $ node config.js The WebPack version used is ^5.46.0。Error is as follows: E:\dev\example\webpackConfigExample\node_modules\install-webpack-plugin\src\plugin.js:208 return next(); ^

TypeError: next is not a function at InstallPlugin.resolveModule (E:\dev\example\webpackConfigExample\node_modules\install-webpack-plugin\src\plugin.js:208:20) at _next0 (eval at create (E:\dev\example\webpackConfigExample\node_modules\tapable\lib\HookCodeFactory.js:33:10), :8:1) at eval (eval at create (E:\dev\example\webpackConfigExample\node_modules\tapable\lib\HookCodeFactory.js:33:10), :30:1) at E:\dev\example\webpackConfigExample\node_modules\enhanced-resolve\lib\Resolver.js:410:5 at eval (eval at create (E:\dev\example\webpackConfigExample\node_modules\tapable\lib\HookCodeFactory.js:33:10), :16:1) at E:\dev\example\webpackConfigExample\node_modules\enhanced-resolve\lib\DirectoryExistsPlugin.js:41:15 at processTicksAndRejections (internal/process/task_queues.js:81:21)

dengbupapapa avatar Jul 26 '21 05:07 dengbupapapa

I cant install it either, it's give me an 404 error when i run npm install --save-dev install-webpack-plugin

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/install-webpack-plugin - Not found
npm ERR! 404
npm ERR! 404  'install-webpack-plugin@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

xeroxstar avatar Aug 22 '21 11:08 xeroxstar

Hi @dengbupapapa , this packages is yet to be released on npm. What is not working properly? can you provide more context with reporducible repo?

Here's my example: https://github.com/dengbupapapa/webpack5-install-webpack-plugin-example/tree/main $ node config.js The WebPack version used is ^5.46.0。Error is as follows: E:\dev\example\webpackConfigExample\node_modules\install-webpack-plugin\src\plugin.js:208 return next(); ^

TypeError: next is not a function at InstallPlugin.resolveModule (E:\dev\example\webpackConfigExample\node_modules\install-webpack-plugin\src\plugin.js:208:20) at _next0 (eval at create (E:\dev\example\webpackConfigExample\node_modules\tapable\lib\HookCodeFactory.js:33:10), :8:1) at eval (eval at create (E:\dev\example\webpackConfigExample\node_modules\tapable\lib\HookCodeFactory.js:33:10), :30:1) at E:\dev\example\webpackConfigExample\node_modules\enhanced-resolve\lib\Resolver.js:410:5 at eval (eval at create (E:\dev\example\webpackConfigExample\node_modules\tapable\lib\HookCodeFactory.js:33:10), :16:1) at E:\dev\example\webpackConfigExample\node_modules\enhanced-resolve\lib\DirectoryExistsPlugin.js:41:15 at processTicksAndRejections (internal/process/task_queues.js:81:21)

@snitin315 Webpack 5.51.1 I have the same problem next is not a function , but an object like this

{
  "fileDependencies": {
    "_set": {},
    "_toMerge": {},
    "_toDeepMerge": [],
    "_needMerge": false,
    "_deopt": false
  },
  "contextDependencies": {
    "_set": {},
    "_toMerge": {},
    "_toDeepMerge": [],
    "_needMerge": false,
    "_deopt": false
  },
  "missingDependencies": {
    "_set": {},
    "_toMerge": {},
    "_toDeepMerge": [],
    "_needMerge": false,
    "_deopt": false
  },
  "stack": {}
}

jaxonly avatar Aug 24 '21 09:08 jaxonly