unplugin-auto-import icon indicating copy to clipboard operation
unplugin-auto-import copied to clipboard

Failed to load url #imports

Open estefaniagg2020 opened this issue 2 years ago • 3 comments

Describe the bug

When run my test I have this error: Failed to load url #imports (resolved id: #imports) in (path). Does the file exist? In my vitest.config --> plugins: [Vue(), AutoImport({ dts: true, imports: ["vue", { "#imports": ["defineNuxtPlugin"] }] })],

Reproduction

my github repository https://github.com/estefaniagg2020/test_nuxt.git

code online https://potential-rotary-phone-g6jqvrvwv79cgwj.github.dev/

npm install npm run test

System Info

Nuxt 3.

Used Package Manager

npm

Validations

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

estefaniagg2020 avatar Aug 31 '23 14:08 estefaniagg2020

We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.

Why reproduction is required

antfu avatar Aug 31 '23 16:08 antfu

hi, where did you find the #imports syntax

lishaobos avatar Sep 04 '23 02:09 lishaobos

:eyes:

ibeladi-mrsool avatar Dec 14 '23 21:12 ibeladi-mrsool