Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
altaf933 opened this issue Jun 6, 2017 · 1 comment

Comments

@altaf933
Copy link

altaf933 commented Jun 6, 2017

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.

  • configuration.output.path: The provided value "dist" is not an absolute path!

Existing Webpack version is:
[email protected]

@dariuszbasiak
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants