Skip to content

fix(dev): document Node version + resolve npm install issues#93

Open
rajatbeladiya wants to merge 1 commit intodevelopersdigest:mainfrom
rajatbeladiya:fix/wsl-npm-install-and-lint-setup
Open

fix(dev): document Node version + resolve npm install issues#93
rajatbeladiya wants to merge 1 commit intodevelopersdigest:mainfrom
rajatbeladiya:fix/wsl-npm-install-and-lint-setup

Conversation

@rajatbeladiya
Copy link

Fixes WSL/dev setup problems where:

  • npm install / npm ci fails with EBADENGINE / Unsupported engine
  • modern npm fails dependency resolution due to a zod peer dependency conflict
  • npm run lint triggers an interactive Next.js ESLint setup prompt (non-tty environments)

Changes:

  • Declare Node engine requirement (Next 14.1.x requires >=18.17.0) + add .nvmrc
  • Add .eslintrc.json (extends next/core-web-vitals) to make next lint non-interactive
  • Bump zod to a compatible version so npm install/npm ci works on modern npm
  • Document all of the above in README troubleshooting

Fixes #14

Add Node engine requirement, .nvmrc, and non-interactive ESLint config. Bump zod to avoid peer-dep resolution failures with modern npm. Updates README troubleshooting for WSL.

Fixes developersdigest#14.
@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel
Copy link

vercel bot commented Mar 5, 2026

@rajatbeladiya is attempting to deploy a commit to the developersdigest's Team Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WSL Run Issues

1 participant