A bundled dependency listed cannot be found in dependencies. Add it to dependencies or remove from bundledDependencies.
When bundledDependencies references a package not present in dependencies (or missing on disk), npm fails with EBUNDLEDNOTFOUND.
Add the package to dependencies with a valid version.
Run npm install so node_modules contains the bundled packages before npm pack/publish.
Verify with npm pack --dry-run, then publish.
Bundling copies dependencies into the tarball. Keep the list accurate and minimal to reduce package size.
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"