Error: Cannot find module 'webpack-obfuscator/loader'
See original GitHub issueI’ve added
{
...
loader: `webpack-obfuscator/loader`
...
}
to my webpack config. When building my App (vue.js) the module cannot be resolved.
using loader: path.resolve(__dirname, './node_modules/webpack-obfuscator/dist/loader')
works as expected.
Versioninformation:
- OS: macOS Catalina 10.15.5
- node: v12.16.2
- webpack: 4.43.0
- webpack-obfuscator: 1.8.1
If you need further information, please let me know
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
node.js - Error: Cannot find module 'webpack' - Stack Overflow
Error: Cannot find module 'webpack' is a node error. So this has nothing to do with webpack itself (afaict). It seems like node...
Read more >webpack-obfuscator - npm
Define a rule in your webpack config and use the obfuscator-loader as the last of your loaders for your modules.
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
In my case, I got it like this "Module not found: Error: Can't resolve 'react-icons/fa' in 'C:\Users\user\Desktop\Projects\Address Locator\ ...
Read more >How to fix Error: cannot find module "webpack" - Educative.io
The Cannot find module webpack occurs when webpack is not globally installed. It is a problem with the npm script or application. You...
Read more >[Solution] Error: Cannot Find Module "nodemailer" - Courier
This is a common Nodemailer error -- get the solution for Error: Cannot Find Module "nodemailer".
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I expected this =( Right now use
path.resolve(__dirname, './node_modules/webpack-obfuscator/dist/loader')
. I have to think about how to fix it.Solved w this: https://www.npmjs.com/package/javascript-obfuscator