Skip to content
New issue

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

Attempts to read directory as file #30

Open
Maxim-Mazurok opened this issue Feb 10, 2022 · 0 comments · May be fixed by #31
Open

Attempts to read directory as file #30

Maxim-Mazurok opened this issue Feb 10, 2022 · 0 comments · May be fixed by #31

Comments

@Maxim-Mazurok
Copy link

I'm getting this error:

Error 1:  Error: EISDIR: illegal operation on a directory, read
    at Object.readSync (node:fs:723:3)
    at tryReadSync (node:fs:433:20)
    at Object.readFileSync (node:fs:479:19)
    at AnalysisTool.testFile (C:\Users\maxim\AppData\Local\nvs\node\16.13.0\x64\node_modules\ngma\bin\analysisTool.js:196:38)
    at AnalysisTool.runAnalysis (C:\Users\maxim\AppData\Local\nvs\node\16.13.0\x64\node_modules\ngma\bin\analysisTool.js:174:18)
    at C:\Users\maxim\AppData\Local\nvs\node\16.13.0\x64\node_modules\ngma\bin\analysisTool.js:70:18
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  errno: -4068,
  syscall: 'read',
  code: 'EISDIR'
}

After debugging, found that this is because I have a folder named au_dcr.json.

Maxim-Mazurok added a commit to Maxim-Mazurok/ngMigration-Assistant that referenced this issue Feb 10, 2022
Maxim-Mazurok added a commit to Maxim-Mazurok/ngMigration-Assistant that referenced this issue Feb 10, 2022
@Maxim-Mazurok Maxim-Mazurok linked a pull request Feb 10, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant