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
require('url-join').('/some/path/with/a/leading/#hash', 'index.html')
// returns '/some/path/with/a/leading#hash/index.html', the `/` before `#` is missing
But I think it is better to solve this issue here because:
Maintainers of url-join does not seem to have a strong willingness to fix this long-standing issue;
Since url-join is only used to join filesystem paths in webpack-dev-middleware, path.posix,join could be a sufficient replacement.
The text was updated successfully, but these errors were encountered:
sodatea
added a commit
to sodatea/webpack-dev-middleware
that referenced
this issue
Aug 25, 2018
For Bugs; How can we reproduce the behavior?
There are several bug reports in vue-cli repository related to this bug:
To reproduce it, run the following commands:
Expected Behavior
A hello world page.
Actual Behavior
A blank page with following error message logged in terminal:
Root Cause
It is actually a bug of
url-join
(used in middleware.js & util.js):jfromaniello/url-join#10
But I think it is better to solve this issue here because:
url-join
does not seem to have a strong willingness to fix this long-standing issue;url-join
is only used to join filesystem paths inwebpack-dev-middleware
,path.posix,join
could be a sufficient replacement.The text was updated successfully, but these errors were encountered: