-
Notifications
You must be signed in to change notification settings - Fork 97
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
[v5] Prismic preview is not working #534
Comments
Any updates on this? |
Hi @aniruddhashevle, See the documentation for guides on updating to the latest versions: Gatsby + Prismic Migration Guides |
any updates on this i am facing the same issues ? |
@angeloashmore : We're still having problems with v6. We can't preview the latest draft contents from Prismic. We've followed v5 to v6: https://github.com/prismicio/prismic-gatsby/blob/main/docs/migration-guide-v5-to-v6.md We don't see the above red box error, however, we observe the below error, even after specifying a valid config for both gatsby-plugin-prismic-previews and gatsby-source-prismic and both the configs are same. |
@aniruddhashevle Did you ever find a fix for this? I'm running into the same issue. |
@AlyssaKirstine : Nope and the Prismic team also not replying on this to fix/guide. We've even ask'em questions on their atlassian portal and the issue couldn't resolve there as well. They also informed us that,
Please check the above link specifically section Our future plans for Gatsby + Prismic. |
@aniruddhashevle I appreciate the update. This is disappointing news 😔 Did you try any alternatives to the |
@AlyssaKirstine : Indeed disappointing news it is. And, an alternative for this, nope, we've spent so much time already on this and we didn't wanna invest more time for this. So not pretty sure about the alternatives. |
@aniruddhashevle Not sure if this will be helpful, but I found a solution for my situation. I was using |
@AlyssaKirstine : Great to know that you found a work around for this. |
Versions
Reproduction
I've followed official documentation:
Steps to reproduce
I've followed official documentation:
What is expected?
Should preview drafts documents.
What is actually happening?
Gives error configuration object could not be found. Check that the repository is configured in your app's withPrismicPreview and withPrismicUnpublishedPreview. Which is exactly shown in the image of this issue comment: #384 (comment) but with diff repo name and version of course.
My linkResolver is also working fine.
I believe its a problem with withPrismicPreview and I've provided repositoryName string and linkResolver properly.
And my Preview component doesn't redirect to the route for my respective template/page that I've mentioned in linkResolver and PrismicPreviewProvider's componentResolver.
The text was updated successfully, but these errors were encountered: