Paypal api – SyntaxError: Identifier '__dirname' has already been declared
Hi I am trying to create a static folder in my server.js for image upload but when I declare the const __dirname = path.resolve() the error message "const __dirname = path.resolve() ^ SyntaxError: Identifier '__dirname' has already been declared" get…