-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
ESLint Hanging #202
Comments
I've tried using the debug flag and can see it hangs on this file:
That file itself contains code that matches the specified target:
Meaning it seems to be struggling at the point it reaches a file that contains the specified target. |
I'm facing the same issue, however I'm using NestJS with Prisma. |
I have the same issue |
I decided to debug the library code and came to the conclusion that this is not a problem with this particular library, but with a specific version of the "synckit" library used in this library, the check freezes on line 275 when calling the generateSync function, I found it useful in the issues of this library and found the issue related to this problem, at the moment the issue is already closed, so I think the solution to this problem is that you just need to update the dependencies |
Ok, I figured it out, I've just installed Postgres via brew on my laptop and it worked |
To fix error with database name you should add string '/postgres' to your database url environment variable and make sure that your env variable value is not undefined |
A reproduction would be helpful |
Closing due to inactivity. If the issue still occurs, please open a new issue with a reproduction. |
Describe the bug
I've installed ts-safeql as per docs on Prisma and read through the official SafeQL docs which seem to provide the same instructions. After doing so, my ESLint seems to have broken, hanging when running
eslint .
and providing no output.To Reproduce
My .eslint.cjs contents for my SvelteKit project utilising Prisma:
Expected behavior
I'd expect ESLint to function as normal and complete when running, as I've only followed the official instructions and configured it as documented from what I can see.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: