Fails to resolve dependencies with module template
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 580
- Forks
- 199
- Avg merge
- 1h 49m
- Merged PRs (30d)
- 28
Description
Running the command from the site https://nuxt.com/docs/4.x/guide/modules/getting-started
npm create nuxt -- -t module my-module
fails to install dependencies because of a confict.
This is because dependency @nuxt/test-utils (including latest version) uses vitest 3 but the module template uses vitest 4.
Tried node 22 and 24, Linux and Windows before realizing this is a dependency issue.
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
Start by reproducing npm create nuxt -- -t module my-module from the Nuxt module template described in the linked documentation, then inspect its dependency declarations and the @nuxt/test-utils requirement. Done means the generated module installs dependencies without a Vitest conflict and follows the documented command successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nuxt
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100