PalisadoesFoundation / talawa-api

API Backend for the Talawa Mobile App. Click on the link below to see our documentation
https://docs.talawa.io/
GNU General Public License v3.0
257 stars 995 forks source link

Bug Report: ReferenceError: __dirname is not defined #2847

Closed amitb0ra closed 1 week ago

amitb0ra commented 1 week ago

Describe the bug ReferenceError: __dirname is not defined

To Reproduce Steps to reproduce the behavior:

  1. npm install
  2. npm run setup
  3. press enter and enter for default values

Screenshots image

Additional details setup.ts:147 const defaultLogPath = path.resolve(__dirname, "logs");

ReferenceError: __dirname is not defined

Potential internship candidates

Please read this if you are planning to apply for a Palisadoes Foundation internship

github-actions[bot] commented 1 week ago

Congratulations on making your first Issue! :confetti_ball: If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

palisadoes commented 1 week ago

Duplicate