Missing `#imports` error with `compatibilityVersion: 5`
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 331
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 9
Description
From https://github.com/nuxt/nuxt/issues/34142#issuecomment-3791192527
Modules like @nuxt/icon need to be updated to use explicit imports (e.g., import { ... } from 'h3') instead of #imports for v5 compatibility.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by reproducing the missing #imports error with compatibilityVersion: 5, then inspect this repository's imports and compare them with the explicit h3 imports recommended in the issue. Done means the compatibility error no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100