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

Unable to generate interface, no feedback after entering generate command. #130

Open
branlok opened this issue Mar 21, 2022 · 6 comments
Open

Comments

@branlok
Copy link

branlok commented Mar 21, 2022

schemats generate -c postgresql://username:secret@localhost:5432/temphelium -o psqltypes.ts

anyone having issues generating interface?

@branlok branlok changed the title Unable to generate types, no feedback after entering generate command. Unable to generate interface, no feedback after entering generate command. Mar 21, 2022
@abdulrahman1s
Copy link

I had the same issue.. I guess the project is dead 😥

@ax-vasquez
Copy link

Oof I thought I was doing something wrong here. Guess not :(

I'm hitting this same issue. Been having a lot of trouble debugging it without any output.

@abdulrahman1s
Copy link

Oof I thought I was doing something wrong here. Guess not :(

I'm hitting this same issue. Been having a lot of trouble debugging it without any output.

Here's an alternative click me

@Dolemite
Copy link

If anyone is still using this as of 2023, I was able to generate output by using node 12.22.12. I was not able to get any output (errors or otherwise) for any newer releases of node.

@lbesiche
Copy link

I found an alternative if you are using mysql db

https://www.npmjs.com/package/@typed-code/schemats

@wsporto
Copy link

wsporto commented Nov 21, 2023

If you are using mysql, I have been developing an alternative library TypeSQL. Instead of generating the types definitions for the database tables, it generates the types from the SQL queries.

I started developing TypeSQL after reading the motivation article of this project (the article is now offline).

https://github.com/wsporto/typesql

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

No branches or pull requests

6 participants