title: "Cannot find module 'webpack/schemas/WebpackOptions.json'" when trying to install webpack
body: <p>Im trying to install webpack to use in my project, but I get this error and I can't figure out how I could fix it. Any suggestions? I tried intalling webpack, webpack-cli globally and locally too.</p>
  
  <pre><code>module.js:540
  throw err;
  ^
  
  Error: Cannot find module 'webpack/schemas/WebpackOptions.json'
  at Function.Module._resolveFilename (module.js:538:15)
  at Function.Module._load (module.js:468:25)
  at Module.require (module.js:587:17)
  at require (/Users/macpro/Documents/sites/colo/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
  at Object.&lt;anonymous&gt; 
  (/Users/macpro/Documents/sites/colo/node_modules/webpack-cli/bin/config-yargs.js:1:85)
  at Module._compile (/Users/macpro/Documents/sites/colo/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
  at Object.Module._extensions..js (module.js:654:10)
  at Module.load (module.js:556:32)
  at tryModuleLoad (module.js:499:12)
  at Function.Module._load (module.js:491:3)
  </code></pre>