You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug is similar to #1373, but since it's only mentioning spaces and that it only happens on windows, I decided to create a new issue ticket. Feel free to merge both together if that's easier 👍
When you run webpack dev server it cannot load the /index.html and you receive a Cannot GET / Error. The problem comes from having a # in your directory path, i.e:
/path/to/my/#1/project/<project lives here>
WORKAROUND:
It works fine if you remove the # from the path.
Code
This bug is similar to #1373, but since it's only mentioning spaces and that it only happens on windows, I decided to create a new issue ticket. Feel free to merge both together if that's easier 👍
When you run webpack dev server it cannot load the
/index.html
and you receive aCannot GET / Error
. The problem comes from having a # in your directory path, i.e:/path/to/my/#1/project/<project lives here>
WORKAROUND:
It works fine if you remove the
#
from the path.Expected Behavior
The webpack dev server is loading the
index.html
that is copied by theHtmlWebpackPlugin
into the/dist
folder.Actual Behavior
I'm getting a blank page with an error:
Cannot GET /
.For Bugs; How can we reproduce the behavior?
Try to run the webpack-dev-server from a project that has a
#
in the directory name, for example:/path/to/my/#1/project/<project lives here>
The text was updated successfully, but these errors were encountered: