Bundled dependencies are malformed. Fix or remove invalid bundledDependencies entries before publishing.
EBUNDLEDINVALID occurs when bundledDependencies is not an array of valid package names, or bundle entries are missing from dependencies.
Ensure bundledDependencies is an array of strings and each is listed in dependencies.
Delete bad entries or add proper dependency versions.
Verify the tarball before publish:
npm pack --dry-runThen publish once the bundle is correct.
Bundling is rare; prefer normal dependencies unless you have a specific offline/install reason.
npm ERR! code E401 npm ERR! 401 Unauthorized - Token has expired
Token has expired - npm authentication failure
npm ERR! code ENOAUDIT npm ERR! Audit endpoint not supported
How to fix "npm ERR! code ENOAUDIT - Audit endpoint not supported"
npm ERR! code EBADDEVENGINES npm ERR! devEngines.runtime incompatible with current node version
How to fix "npm ERR! code EBADDEVENGINES - devEngines.runtime incompatible with current node version"