gridsome.org icon indicating copy to clipboard operation
gridsome.org copied to clipboard

Starters 404 page js errors

Open zacnomore opened this issue 5 years ago • 3 comments

Moved from: https://github.com/gridsome/gridsome/issues/799

Description

Javascript error on starters 404 page. this.$page is null" and t.$page is null

Steps to reproduce

https://gridsome.org/starters/fsdqs, check the console

zacnomore avatar Feb 13 '20 15:02 zacnomore

This comment may aid diagnosis: https://github.com/gridsome/gridsome/issues/799#issuecomment-551059235

zacnomore avatar Feb 13 '20 15:02 zacnomore

Can't reproduce on current master. Public page does have the issue tho.

Erbenos avatar Feb 22 '20 21:02 Erbenos

I got the same problem, I think it has something to do with 404 on routes that have a routing template.

I have the following configured : templates: { ServiceGroup: '/:slug', },

I got the same error on a url like "mywebsite.com/dfsjgknfsgnfjs" but the error goes away if I change the template to /services/:slug. But then will still have errors on "/services/dfsjgknfsgnfjs".

florentcm avatar May 08 '20 03:05 florentcm