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
ada yg tau untuk mengatasi ini?
The text was updated successfully, but these errors were encountered:
Try removing the "global." _dirname(import.meta.url)
Sorry, something went wrong.
removing global from global._dirname(import.meta.url) not work for
I try to make function :
global._dirname = function _dirname(url) { const urlObj = new URL(url); return decodeURIComponent(urlObj.pathname.substring(1)); }; const _dirname = global._dirname(import.meta.url)
But still facing some issue Like Connection error :(
I tried this code it worked, but after scan the QR code it not
// (previous code) global.filename = function filename(pathURL, rmPrefix) { if (rmPrefix) { if (/file:\/\/\//.test(pathURL)) { return fileURLToPath(pathURL); } else { return pathURL; } } else { return pathToFileURL(pathURL).toString(); } }; global._dirname = function dirname(pathURL) { return path.dirname(global.filename(pathURL, true)); }; // (the rest of your code)
No branches or pull requests
ada yg tau untuk mengatasi ini?
The text was updated successfully, but these errors were encountered: