nuxt / nuxt/starter

Module starter not working

Open
#1,305 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
580
Forks
199
Avg merge
1h 49m
Merged PRs (30d)
28

Description

  1. Go to nuxt.new
  2. Create a new nuxt-module using the starter -> codesandbox or stackblitz
  3. Run npm i && npm dev:prepare
  4. See error in the in the following details:
stackblitz error

Image

codesandbox error

Image


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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.