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

Navigating issue with creating client paths plugin #4346

Closed
varakumar1105 opened this issue Mar 3, 2018 · 4 comments
Closed

Navigating issue with creating client paths plugin #4346

varakumar1105 opened this issue Mar 3, 2018 · 4 comments

Comments

@varakumar1105
Copy link

varakumar1105 commented Mar 3, 2018

Description

Navigating issue with creating client paths plugin. I am using components from components folder instead of creating folders in pages/page/ path.

It is rendering 404 page first and then talking to correct page in after prod build. Can you help me out of this?

Environment

Gatsby version: 1.1.34
Node.js version: v7.8.0
Operating System: Linux

File contents (if changed):

gatsby-config.js:
{
resolve: gatsby-plugin-create-client-paths,
options: { prefixes: [/sample-page/*] }
}
package.json:
"gatsby-plugin-create-client-paths": "1.0.5"

...

@m-allanson
Copy link
Contributor

@varakumar1105 Can you try updating all your packages to the latest versions?

@chinmayakcv
Copy link

@m-allanson : I observed that 404 page is shown till onInitialClientRender is called

@varakumar1105
Copy link
Author

We configured server routing to eliminate this issue. Our server is serving 404.html when route was not found

@acerbetti
Copy link

I'm seeing the same issue. How did you solve it?

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

4 participants