readmeio / readmeio/api

Vercel Deployment Failure - Package Version Compatibility Issue

Open
#979 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
697
Forks
31
Avg merge
3d 21h
Merged PRs (30d)
10

Description

Problem Description

The current project is failing to deploy on Vercel due to incompatible package versions and dependency resolution issues. The main failure occurs during the installation of the Holded API client and its dependencies. Additionally, the .api folder is git ignored, which means the Holded API client needs to be regenerated during each deployment.

Current Package Versions
  • Next.js: 15.0.4 (experimental/unreleased version)
  • React: 18.3.1 (experimental/unreleased version)
  • React DOM: 18.3.1 (experimental/unreleased version)
  • TypeScript: 5.6.3
Deployment Error Details
Error: Command "npx api install -l ts -y @holded/v1.0#2tq2om5ntgl42 && pnpm install --no-frozen-lockfile" exited with 1

The deployment fails due to:

  • ESLint peer dependency conflicts
  • Unsupported URL Type error with link:dummy.js
  • npm package resolution timeouts
  • Conflicts between different versions of ESLint plugins
  • .api folder not being versioned (git ignored), requiring regeneration on each deploy
Repository

The project repository is available at: https://github.com/ulysses-ck/holded-nextjs/

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

Start by reproducing the Vercel deployment command: npx api install -l ts -y @holded/v1.0#2tq2om5ntgl42 && pnpm install --no-frozen-lockfile. Inspect the ignored .api folder and the reported ESLint, link:dummy.js, and package-resolution failures. Done means the Holded API client and dependencies install successfully during deployment without the listed compatibility errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, next.js, typescript
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.