We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
webpack-closure-compiler
npm install --save-dev closure-webpack-plugin google-closure-compiler
google-closure-compiler
node_modules/google-closure-compiler/lib
/closure-webpack-plugin/src/closure-compiler-plugin.js
Why is this plugin trying to access a directory that does not exist in it's required dependency? Is there a fix that I can rollback to?
Any help much appreciated.
Failed to load '/Users/Luis/Documents/libraries/webpack.config.js' [webpack-cli] Error: Cannot find module 'google-closure-compiler/lib/utils' Require stack: - /Users/Luis/Document/libraries/node_modules/closure-webpack-plugin/src/closure-compiler-plugin.js - /Users/Luis/Documents/libraries/webpack.config.js - /Users/Luis/Documents/libraries/node_modules/webpack-cli/lib/webpack-cli.js - /Users/Luis/Documents/libraries/node_modules/webpack-cli/lib/bootstrap.js - /Users/Luis/Documents/libraries/node_modules/webpack-cli/bin/cli.js - /Users/Luis/Documents/libraries/node_modules/webpack/bin/webpack.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15) at Function.Module._load (node:internal/modules/cjs/loader:769:27) at Module.require (node:internal/modules/cjs/loader:997:19) at require (/Users/Luis/Documents/libraries/node_modules/v8-compile-cache/v8-compile-cache.js:159:20) at Object.<anonymous> (/Users/Luis/Documents/libraries/node_modules/closure-webpack-plugin/src/closure-compiler-plugin.js:8:5) at Module._compile (/Users/Luis/Documents/libraries/node_modules/v8-compile-cache/v8-compile-cache.js:192:30) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10) at Module.load (node:internal/modules/cjs/loader:973:32) at Function.Module._load (node:internal/modules/cjs/loader:813:14) at Module.require (node:internal/modules/cjs/loader:997:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/Luis/Documents/libraries/node_modules/closure-webpack-plugin/src/closure-compiler-plugin.js', '/Users/Luis/Documents/libraries/webpack.config.js', '/Users/Luis/Documents/libraries/node_modules/webpack-cli/lib/webpack-cli.js', '/Users/Luis/Documents/libraries/node_modules/webpack-cli/lib/bootstrap.js', '/Users/Luis/Documents/libraries/node_modules/webpack-cli/bin/cli.js', '/Users/Luis/Documents/libraries/node_modules/webpack/bin/webpack.js' ] }
The text was updated successfully, but these errors were encountered:
For anyone who stumbled on this, changing the package.json versions from closure-webpack-plugin": "2.5.0"" to ^2.5.0 fixed this for me.
closure-webpack-plugin": "2.5.0""
^2.5.0
Sorry, something went wrong.
No branches or pull requests
Error:
webpack-closure-compiler
.npm install --save-dev closure-webpack-plugin google-closure-compiler
google-closure-compiler
package that's listed in the README install script does not have this directory innode_modules/google-closure-compiler/lib
/closure-webpack-plugin/src/closure-compiler-plugin.js
on lines 5-8.Why is this plugin trying to access a directory that does not exist in it's required dependency? Is there a fix that I can rollback to?
Any help much appreciated.
The text was updated successfully, but these errors were encountered: