Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Issue using package on Windows: json2ts #44

Copy link
Copy link
@pat-mw

Description

@pat-mw
Issue body actions

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.