This package doesn't have a "main" defined in its package.json, which means it can't actually be imported by package name, and forces users to import it via dist, i.e. const { retrieveAuthToken } = require("@vanioinformatika/node-npmrc-auth-token-retriever/dist");