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

This package does not exist in the NPM repository #237

Open
dengbupapapa opened this issue Jul 26, 2021 · 4 comments
Open

This package does not exist in the NPM repository #237

dengbupapapa opened this issue Jul 26, 2021 · 4 comments

Comments

@dengbupapapa
Copy link

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

@snitin315
Copy link
Member

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

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

@dengbupapapa
Copy link
Author

dengbupapapa commented Jul 26, 2021

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)

@xeroxstar
Copy link

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.

@jaxonly
Copy link

jaxonly commented Aug 24, 2021

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": {}
}

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