• Error: Cannot find module ‘webpack’

    好久没用webpack压缩js文件了,今天用到了一下,但是... E:\xxxxx>webpack js.js js.min.js -p C:\Users\admin\node_modules\webpack-cli\bin\cli.js:244 throw err; ^ Error: Cannot find module 'webpack' at Function.Module._resolve…

    Learn 2019-01-19 1912