Skip to content

fix(nodes-base): Bundle xlsx to fix npx install resolution failure#28636

Open
ssam18 wants to merge 1 commit inton8n-io:masterfrom
ssam18:fix/bundle-xlsx-dep
Open

fix(nodes-base): Bundle xlsx to fix npx install resolution failure#28636
ssam18 wants to merge 1 commit inton8n-io:masterfrom
ssam18:fix/bundle-xlsx-dep

Conversation

@ssam18
Copy link
Copy Markdown

@ssam18 ssam18 commented Apr 17, 2026

Running npx n8n fails with ETARGET No matching version found for xlsx@0.20.2 on npm 11 because libnpmexec resolves URL-based dependencies differently from a regular npm install, causing it to look up the SheetJS CDN package in the npm registry where it doesn't exist. Adding xlsx to bundledDependencies embeds it directly in the published tarball, so npm never needs to resolve it externally. Fixes #28617

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

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.

npx n8n fails with ETARGET for xlsx@0.20.2 while npm install n8n works

1 participant