-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
gatsby develop -> Cannot read property 'indexOf' of undefined #210
Comments
So after investigation, it's indeed a dependency. And it's |
webpack/webpack-dev-middleware@b05cd04 is what broke things. There's an open PR to fix it webpack/webpack-dev-middleware#80 |
Note, this isn't a direct dependency of Gatsby. We depend on https://github.com/SimonDegraeve/hapi-webpack-plugin which depends on webpack-dev-middleware. |
1.6.1 of webpack-dev-middleware was released today which rolled-back the regression. webpack/webpack-dev-middleware@8044d04 |
I reinstalled gatsby, I guess one of the dependencies was updated and now I get this error when I run
gatsby develop
After investigation, inside the develop script, this is true
negotiator.mediaType() === 'text/html'
. Therefore, the system tries to load a page at/html/
but nothing exists there...The text was updated successfully, but these errors were encountered: