Skip to content
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

Having a svg file inside /pages causes an error #206

Closed
tleunen opened this issue Mar 23, 2016 · 2 comments · May be fixed by tejzpr/gatsby#63
Closed

Having a svg file inside /pages causes an error #206

tleunen opened this issue Mar 23, 2016 · 2 comments · May be fixed by tejzpr/gatsby#63

Comments

@tleunen
Copy link
Contributor

tleunen commented Mar 23, 2016

Having a svg file (even never used) inside the pages directory causes an error in development.

I was able to reproduce it with the starter template.

WARNING in ./pages ^\.\/.*$
Module not found: Error: Cannot resolve module 'file-loader' in /Users/tleunen/dev/gatsby-default/def/pages
 @ ./pages ^\.\/.*$
@KyleAMathews
Copy link
Contributor

So as it turns out, file-loader wasn't a gatsby dependency :-) Added that and published 0.8.11.

@KyleAMathews
Copy link
Contributor

Thanks for the bug report!

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