robwormald / ng-universal-demo

256 stars 126 forks source link

Configuration.output.path: The provided value "dist" is not an absolute path! #24

Open altaf933 opened 7 years ago

altaf933 commented 7 years ago

Just setup and run the application they prompt an error message :

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

Existing Webpack version is: webpack@2.6.1

dariuszbasiak commented 7 years ago

I have same problem. Adding path.resolve do the thing: const path = require('path'); output: { path: path.resolve(__dirname+ '/dist'), filename: '[name].js' }