question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

webpack-dev-server outputPath error

See original GitHub issue

On command npm run hot I’m getting this error:

ERROR in [copy-webpack-plugin] Using older versions of webpack-dev-server, devServer.outputPath must be defined to write to absolute paths

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:22 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
acachacommented, Jan 30, 2017

Still having same problem with version:

$npm list webpack-dev-server
/home/sergi/Code/scool/curriculum_test
└─┬ laravel-mix@0.5.16
  └── webpack-dev-server@2.2.0 

@JeffreyWay please I think you have to reopen this issue

4reactions
JeffreyWaycommented, Apr 20, 2017

Fixed in 329ed0ccffb51d52111ec11359f2617c528c60c0

Read more comments on GitHub >

github_iconTop Results From Across the Web

devServer.outputPath must be defined in the webpack config
When webpack uses the devServer, the output.path value is empty, so I have to use ... webpack-dev-server outputPath error laravel-mix/laravel-mix#150.
Read more >
Getting "Error: `output.path` needs to be an absolute path or `/`"
I am new to JS development, in an attempt to hot load changes using webpack-dev-server I keep ...
Read more >
DevServer - webpack
webpack-dev-server can be used to quickly develop an application. ... Shows a full-screen overlay in the browser when there are compiler errors or...
Read more >
webpack/webpack/dev - Gitter
Hey guys, my webpack with webpack-dev-server setup throws an error suddenly without me changing anything!? Can anyone take a look please?
Read more >
webpack-dev-server - npm
--name <value> Name of the configuration. Used when loading multiple configurations. -o, --output-path <value> Output location of the file ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found