harlan-zw/nuxt-schema-org

head.use is not a function

Barbapapazes opened this issue · 4 comments

Describe the bug

Hello, just update my module but can't know what happened
image

Reproduction

Classement-des-Associations/le-classement.fr#79

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (4) x64 Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz
    Memory: 3.15 GB / 15.88 GB
  Binaries:
    Node: 18.12.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.3.0 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (108.0.1462.42), ChromiumDev (109.0.1495.2)
    Internet Explorer: 11.0.19041.1566

Used Package Manager

yarn

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Hi, please delete lock file / node_modules and re install. You need the latest @vueuse/head version

Hello,

I just see the lastest release of @vueuse/head but because Nuxt3 use it internally, I have to way that the Nuxt team update it and release it?

Edit: It seems that @vueuse/head is updated. Need to wait for a release https://github.com/nuxt/framework/blob/main/packages/nuxt/package.json#L47

Nuxt has a caret dependency of @vueuse/head, so when you delete your lock file / node_modules and re-install, it will use the latest patch release

Did you try it?

It works perfectly, thanks a lot for your works!