Module starter not working
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 580
- Forks
- 199
- Avg merge
- 1h 49m
- Merged PRs (30d)
- 28
Description
- Go to
nuxt.new - Create a new nuxt-module using the starter -> codesandbox or stackblitz
- Run
npm i && npm dev:prepare - See error in the in the following details:
stackblitz error
codesandbox error
Solution
I lack of knowledge to know the reason why it fails, but it seems the problem is with addPlugin(resolver.resolve('./runtime/plugin'));
https://stackblitz.com/edit/github-fefin6wf?file=tsconfig.json
Let me know if I am doing something wrong!
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
Reproduce the module starter from nuxt.new in the linked CodeSandbox or StackBlitz, then run npm i && npm dev:prepare. Start by inspecting tsconfig.json and the addPlugin(resolver.resolve('./runtime/plugin')) entry mentioned in the report. Done means the generated starter prepares successfully in the reported environments.
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
- 45/100