npm install Error when installing starter example project from learn section of nextjs
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, i am trying to learn nextjs from learn section of website and tried to download starter example using - "npx create-next-app@latest nextjs-dashboard --use-npm --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example",
Its throwing me some errors and finally giving out "npm install has failed".
Attached my log files.
I am using:
node v20.10.0
npm v10.4.0
how can i resolve the error, i tried installing string-width using "npm i string-width" but still failing to install the starter app.
npm-debug.log
Contributor guide
No contributing guide indexed for this repository
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 supplied create-next-app command with Node v20.10.0 and npm v10.4.0, then inspect the attached npm-debug.log for the failing installation step. Done means the dashboard starter example installs successfully, or the issue documents a confirmed incompatibility and its supported setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- next.js, node.js
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100