A bundled dependency listed cannot be found in dependencies. Add it to dependencies or remove from bundledDependencies.
Fixes npm ERR! code EBUNDLEDNOTFOUND npm ERR! Bundled dependency not found: package-name
# npm ERR! code EBUNDLEDNOTFOUNDnpm ERR! Bundled dependency not found: package-nanpm ERR! code EBUNDLEDNOTFOUNDnpm ERR! Bundled dependency not found: package-name
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.