Need help: error Cannot find package 'prettier-plugin-sort-json' when executing npx swagger-typescript-api #1007
kleinnic74
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As instructed in many places, I run the following command against a swagger 2.0 yaml file:
$ npx swagger-typescript-api -p api/myapi.yaml -o tmp/.
Execution fails with the following error:
Node version: v22.4.1
npx version: 10.8.1
Beta Was this translation helpful? Give feedback.
All reactions