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

ERROR [nuxt:imports-transform] [unimport] failed to find "useMeta" imported from "#imports" #15506

Closed
mlsjla opened this issue Nov 17, 2022 · 5 comments

Comments

@mlsjla
Copy link

mlsjla commented Nov 17, 2022

Environment



 WARN  Using experimental payload extraction for full-static output. You can opt-out by setting experimental.payloadExtraction to false.

ℹ Using Tailwind CSS from ~/assets/css/tailwind.css              nuxt:tailwindcss 16:45:07

 ERROR  [nuxt:imports-transform] [unimport] failed to find "useMeta" imported from "#imports"
file: /Users/mac/.webcode/gin-nuxt/web/node_modules/@vueuse/nuxt/ssr-plugin.mjs


 ERROR  [unimport] failed to find "useMeta" imported from "#imports"              16:45:13

  at node_modules/unimport/dist/shared/unimport.d5d80c71.mjs:782:17
  at Array.forEach (<anonymous>)
  at node_modules/unimport/dist/shared/unimport.d5d80c71.mjs:779:44
  at Array.forEach (<anonymous>)
  at detectImports (node_modules/unimport/dist/shared/unimport.d5d80c71.mjs:777:20)
  at async injectImports (node_modules/unimport/dist/shared/unimport.d5d80c71.mjs:804:44)
  at async Object.transform (node_modules/nuxt/dist/index.mjs:1107:21)
  at async transform (node_modules/rollup/dist/es/shared/rollup.js:21734:16)
  at async ModuleLoader.addModuleSource (node_modules/rollup/dist/es/shared/rollup.js:21959:30)



Reproduction

"nuxt": "^3.0.0",

Describe the bug

config:

    vueuse: {
        ssrHandlers: true,
    },

when upgrade to "nuxt": "^3.0.0"

npm run generate ... show error..

Additional context

No response

Logs

No response

@shtse8
Copy link

shtse8 commented Nov 17, 2022

I have the same issue.

@raphmarot
Copy link

Same issue

@isimmons
Copy link

I believe useMeta was replaced with useHead
SEO and Meta

Also a heads up, useBody renamed to readBody and useCookies renamed to parseCookies in case you run into those two.

@raphmarot
Copy link

Correct @isimmons
vueuse/vueuse#2449

Copy link
Member

Closing as this is an upstream issue.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants