We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package doesn't support ESM?
ReferenceError: __filename is not defined
node_modules/.pnpm/@[email protected]/node_modules/@contentful/node-apps-toolkit/lib/keys/get-management-token.js102:179 defaultCache = new NodeCache(); } const httpClientOpts = typeof opts.host !== 'undefined' ? { prefixUrl: opts.host } : {}; return (0, exports.createGetManagementToken)((0, utils_1.createLogger)({ filename: __filename }), (0, utils_1.createHttpClient)(httpClientOpts), defaultCache)(privateKey, opts); }; exports.getManagementToken = getManagementToken;
Should likely has an ESM supported build?
// Import the URL module to resolve file paths import { fileURLToPath } from 'url' // ESM replacement for __filename const __filename = fileURLToPath(import.meta.url)
The text was updated successfully, but these errors were encountered:
Hi @iDVB! Thanks for this feedback, I've created a ticket in our team's backlog and we will keep you updated on it's progress.
Sorry, something went wrong.
No branches or pull requests
Package doesn't support ESM?
ReferenceError: __filename is not defined
Should likely has an ESM supported build?
The text was updated successfully, but these errors were encountered: