-
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
"Cannot read property 'jsonName' of undefined" in production #2915
Comments
|
@KyleAMathews Thank you for quick response! but I've tried both ways with no luck ( When i exclude the --prefix-paths flag it'll show the index page on both contact and about, but after reloading will still through that json error plus another one, although the actual content of contact or about will appear for a second.
which debugs to:
If i include the flag a bunch of resources are not being loaded.. |
Same issue as #2740, closing this ticket, will look in fixing the pathPrefix. |
Having issues with using Link from gatsby-link. Links live in nav menu and work fine on local/dev but fail to navigate in production. Tried with --prefix-paths flag and without it, and it doesn't break the page at first if excluding the flag, so the content is shown on reload but than the error is thrown. If including the --prefix-path the site fails to load resources. Deployed with surge. Please advice if anyone has experienced similar issue, thank you.
gatsby-config.js
items with link
package.json
pages are:
index, about, contact, 404
The text was updated successfully, but these errors were encountered: