Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 409 Bytes

Webpack-errors.md

File metadata and controls

18 lines (14 loc) · 409 Bytes

Webpack errors

  1. Error: Cannot find module 'webpack'

    npm install --save-dev webpack
    
  2. configuration.output.path: The provided value "dist/assets" is not an absolute path! To solve this issue, you can add __dirname to a ouput path.

      output: {
         path: __dirname + "dist/assets",
         filename: "bundle.js",
         sourceMapFilename: 'bundle.map'
      }