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

Wrong reference to @unhead for schema-org? #367

Open
MarcoTroost opened this issue Dec 18, 2024 · 2 comments
Open

Wrong reference to @unhead for schema-org? #367

MarcoTroost opened this issue Dec 18, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@MarcoTroost
Copy link

📚 What are you trying to do?

Hi!

Thank you for your work on this awesome plugin! I've just upgraded nuxt-schema-org 4.0.4, but unfortunately this leads to an error 500 when i try to run my project.

Scherm­afbeelding 2024-12-18 om 11 29 59

As i see it, this is probably due to the fact that the @unhead/schema-org/vue can't be found.

This file IS present on my production server (where nuxt-schema-org works like a charm)

Scherm­afbeelding 2024-12-18 om 11 31 34

Could you perhaps look into the versioning of the nested @unhead library?

kind regards, Marco

🔍 What have you tried?

No response

ℹ️ Additional context

No response

@MarcoTroost MarcoTroost added the help wanted Extra attention is needed label Dec 18, 2024
@harlan-zw
Copy link
Owner

Hi @MarcoTroost, this is a valid subtype export, it seems like your package manager may be having some issues with the paths / resolutions.

Could you share which one you're using and what your node version is?

Thanks

@MarcoTroost
Copy link
Author

Hi Harlan,

I'm using using node v22.6.0 (npm v10.8.2).

To avoid any confusion:

My local project (that i have upgraded to nuxt-schema-org 4.0.4) does not work.
This is the contents of the @unhead lib:

Scherm­afbeelding 2024-12-20 om 12 06 14

I haven't updated my production server. This still runs nuxt-schema-org 3.4.7 and this does work
This is the contents of the @unhead lib:

Scherm­afbeelding 2024-12-18 om 11 31 34

grtz Marco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants