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

TypeError: Cannot destructure property 'metadata' of 'global.attributes' #63

Open
AF20181 opened this issue Oct 11, 2022 · 4 comments
Open

Comments

@AF20181
Copy link

AF20181 commented Oct 11, 2022

This error occurs if you set a slug to the "Content-Manager" -> "Home" -> "slug" and afterwards re-empty this field.

@matek075
Copy link

Hi, I have the same issue. Can't run starter in localhost:3000
TypeError: Cannot destructure property 'metadata' of 'global.attributes' as it is undefined.

For example here->
pages\_app.js:73:5)

@staminna
Copy link

staminna commented Mar 1, 2023

I think it needs to start with a hash key # but it shouldn't completely lose your work and ruin everything as it did for me.

@robukh
Copy link

robukh commented Mar 2, 2023

Everyone here is facing this issue. Looking at the pageProps it seems that the metadata exists
console.log({...pageProps})

So the issue somewhere deeper.
We are all waiting for the fixes from Strapi

@matek075
Copy link

matek075 commented Mar 7, 2023

@radzivonobuh @staminna @AF20181 I got info from Strapi contributor in Strapi discord : "strapi templates are not being maintained anymore" . Regrettably there are no official working strapi starters or templates. 😢

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