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

Fixed Empty Output Issue and Run without installing #63

Closed
wants to merge 2 commits into from

Conversation

sanjib-sen
Copy link

So, I have been facing an issue where the generator does not generate anything. It even creates the generated directory but there is no file.

So, I have tested some solutions and found out that, it requires you to have prisma-kysely installed globally, with npm install -g prisma-kysely as it executes the command prisma-kysely. So, if you do not have it installed globally this does nothing.
But this can be easily solvable by using npx as npx helps to run the prisma-kysely script without having installed it globally.

And this also minimizes the need of installing the script altogether.

@sanjib-sen sanjib-sen requested a review from valtyr as a code owner July 26, 2023 22:06
@valtyr
Copy link
Owner

valtyr commented Aug 21, 2023

Hmm, this is an interesting issue. Thank you for reporting it. I haven't heard of anyone else having this problem, so I'm hesitant about recommending npx as the preferred way of using the library for this reason alone. I'd instead like to figure out the root problem. Can you share your setup? Are you running prisma-kysely in a single project or a monorepo, and what package manager are you using? Does the tool produce any errors?

@valtyr
Copy link
Owner

valtyr commented Sep 25, 2023

Closed in favor of fixing issue #69 properly

@valtyr valtyr closed this Sep 25, 2023
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 this pull request may close these issues.

2 participants