-
Notifications
You must be signed in to change notification settings - Fork 88
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
Cannot read property 'replace' of undefined #12
Comments
Closed
gajus
added a commit
that referenced
this issue
Sep 7, 2016
gajus
added a commit
that referenced
this issue
Sep 7, 2016
gajus
added a commit
that referenced
this issue
Sep 7, 2016
could you tell how to update join.js? please |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm currently migrating a small project to use Babel v6, but I'm getting the titular error with this trace when attempting to run webpack-dev-server:
It appears the error is in
join.js
which begins with:Obviously,
FileAppendPlugin.js
is callingjoin
withundefined
as the second argument butundefined != ""
, so this escape only works if an empty string is passed, and execution continues ifundefined
is passed (and the rest of the function assumes a value). Is this function intentionally tossing its toys, or is this a simple oversight that could be handled with something like:?
Sure, I can move onto working out why FileAppendPlugin is passing
undefined
(assumedly erroneously), but this problem remains.The text was updated successfully, but these errors were encountered: