Skip to content

conflict with @vue-macros/nuxt 'Type warnings' #3909

Open
@geminigeek

Description

@geminigeek

Environment

Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.16.2

Reproduction

https://codesandbox.io/p/devbox/new-star-4x9vqf

just run the repo check in terminal for warnings

Description

hi,

i am getting type warnings like this for all components, every thing works fine, i am not even using typescript in my Vue SFC

 WARN  warning: unplugin-vue-better-define TransformError: Cannot resolve TS type: ButtonProps                                                                       11:01:47 pm  
  Plugin: unplugin-vue-better-define
  File: F:/node-local/nuxt-apps/nuxt-with-nuxt-ui/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected][email protected][email protected]_eiavxvfntsids5hrxwa6ymgw74/node_modules/@nuxt/ui/dist/runtime/components/Button.vue


 WARN  warning: unplugin-vue-better-define TransformError: Cannot resolve TS type: LinkProps                                                                         11:01:46 pm  
  Plugin: unplugin-vue-better-define
  File: F:/node-local/nuxt-apps/nuxt-with-nuxt-ui/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected][email protected][email protected]_eiavxvfntsids5hrxwa6ymgw74/node_modules/@nuxt/ui/dist/runtime/components/Link.vue


 WARN  Cannot resolve TS type: LinkProps                                                                                                                             11:01:46 pm  

    at /F:/node-local/nuxt-apps/nuxt-with-nuxt-ui/node_modules/.pnpm/@[email protected][email protected][email protected]_/node_modules/@vue-macros/api/dist/index.js:1308:13 


Additional context

if i remove the @vue-macros/nuxt plugin all warnings gone

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriagev3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions