Skip to content

'indexOf' of undefined on url.indexOf(localPrefix) #82

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

Closed
zckrs opened this issue Mar 25, 2016 · 7 comments
Closed

'indexOf' of undefined on url.indexOf(localPrefix) #82

zckrs opened this issue Mar 25, 2016 · 7 comments

Comments

@zckrs
Copy link

zckrs commented Mar 25, 2016

Hi,

I just update to v1.6.0 and a error occurred

TypeError: Cannot read property 'indexOf' of undefined
   at getFilenameFromUrl (/home/zckrs/project/node_modules/webpack-dev-middleware/middleware.js:129:9)
   at webpackDevMiddleware (/home/zckrs/project/node_modules/webpack-dev-middleware/middleware.js:174:18)
   at call (/home/zckrs/project/node_modules/connect/index.js:239:7)
   at next (/home/zckrs/project/node_modules/connect/index.js:183:5)
...
...
@zhengcan
Copy link

+1

4 similar comments
@mikevercoelen
Copy link

+1

@domark0721
Copy link

+1

@franklinkim
Copy link

+1

@ianwcarlson
Copy link

+1

@maxlapides
Copy link

This is a duplicate of #79

jhnns added a commit that referenced this issue Mar 25, 2016
Fix #79 #81 #82
Related to #80
@jhnns
Copy link
Member

jhnns commented Mar 25, 2016

I've reverted the broken commit. I don't know why @sokra has merged it in the first place. Its purpose is unclear to me.

I'll try to publish this asap (don't have the rights to publish it on npm 😞).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants