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

Issue using package on Windows: json2ts #44

Open
pat-mw opened this issue Apr 22, 2024 · 0 comments
Open

Issue using package on Windows: json2ts #44

pat-mw opened this issue Apr 22, 2024 · 0 comments

Comments

@pat-mw
Copy link

pat-mw commented Apr 22, 2024

Hey there!
I know that there hasn't been much activity here as of late so I hope this reaches someone.

I'm working on a full stack project using Django as a backend and NextJs as a front end, and using Django Ninja (with build in Pydantic) to boot up the REST API.

I found this repo whilst looking for existing solutions that would allow us to manage all type definitions on the backend, such that the front end can easily consume them for a better developer experience.

However, I'm having issues getting this to work on Windows. How do I install Json2ts?

I've tried via npm but it doesn't seem to add the command to PATH and I can't for the life of me figure out how to run it.

Ideally, as per another thread, json2ts installation should be platform agnostic. For now it's just me but eventually various devs will be joining this codebase and I want this to work seamlessly across all their development environments.

Is there any way you could bundle json2ts within this repo? Or do you have any guidance in using this package / the CLI without needing json2ts?

Thanks ahead,
Pat

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

1 participant