-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Malformed paths when trying to view /webpack-dev-server
route [Windows]
#1386
Comments
I'm having a lot of trouble upgrading our project to webpack 4 (webpack-dev-server refuses to "just work") and this feature appears to be the only thing that could help. And it's seemingly broken. 😭 |
I'm having the exact same issue with a setup of webpack 4 + webpack-dev-server setup with node.js (version |
I had the same issue. It looks like to be an issue with path handling, since after removing white space from my project path it did work again. There is already an issue for that: webpack/memory-fs#59 |
Ah, very interesting. I'm also on Windows and also have spaces in my path, but they can't be removed because they're in the username portion of the path. |
As a quick fix I've added in node_modules\memory-fs\lib\MemoryFileSystem.js the following line to the pathToArray function.
The altered function:
|
/webpack-dev-server
route [Windows]
Closing in favor webpack/memory-fs#59, also we have problem in |
Expected Behavior
According to this page:
However, when I try that with my dev server, I get a JS backtrace in the console:
Actual Behavior
I'm not sure exactly (since I've never used this feature), but I was expecting something helpful to happen.
For Bugs; How can we reproduce the behavior?
Visit
http://localhost:9000/webpack-dev-server
for a dev server.The text was updated successfully, but these errors were encountered: