viska
(VISKA Vefstofa)
1
Hi, recently I begun to get this error.
When I try to open any Prismic document it briefly loads before throwing me into this error:
I'm currently running
"@prismicio/client": "^7.3.1",
"@prismicio/helpers": "^2.3.9",
"@prismicio/next": "^1.5.0",
"@prismicio/react": "^2.7.3",
"@prismicio/slice-simulator-react": "^0.2.3",
"@prismicio/types": "^0.2.7",
"next": "^13.1.6",
"@slicemachine/adapter-next": "^0.3.30",
"slice-machine-ui": "^1.22.0",
Has anyone encountered similar issue? Perhaps is there a way to resync locally stored data with Prismic which hopefully can remedy the issue?
Thanks,
Dave
Phil
(Phil Snow)
2
Hi @viska ,
Welcome to the forum. I'll be happy to help, but I'm confused about where you're seeing this. Is this happening in Slice Machine?
Can you send me a screen recording of the issue?
Do you see any errors in the browser console or the terminal?
Phil
(Phil Snow)
4
What is your repository URL?
viska
(VISKA Vefstofa)
5
Sorry for the late response.
The error in the console looks like this
Here's the link to the repo: https://brim-annual-report-2023.prismic.io/
Hope these can help!
Dave
Phil
(Phil Snow)
6
Hi Dave,
I'm still unsure where you are seeing this because of the cropping, is this in the page builder or in Slice Machine?
Thanks.
viska
(VISKA Vefstofa)
7
It's on the page builder. Opening it with the legacy editor seems to work just fine.
Phil
(Phil Snow)
9
We found the issue. In your previews, there's an extra space at the end of localhost:3000, which is causing our validation to crash.
We will do a code fix, but in the short term, you can go to the repo settings and remove the extra space.
viska
(VISKA Vefstofa)
10
Oh my. Thanks! It works now!
1 Like