Closed vladmiller closed 1 month ago
I have a monorepo managed with pnpm, where typescript dependency lives in the root package.json file.
Now, openapi-ts does not see typescript from root module and requires typescript that is installed locally.
openapi-ts
> web-renter-portal@ gen:api-local /Users/johndoe/Projects/portal/apps/web-renter-portal > openapi-ts --input http://127.0.0.1:5000/swagger/swagger.json --output app/api --client fetch --useOptions 🔥 Unexpected error occurred. Log saved to /Users/johndoe/Projects/portal/apps/web-renter-portal/openapi-ts-error-1715779812572.log 🔥 Unexpected error occurred. 🚫 dependency missing - TypeScript must be installed
No response
Please make sure you're on the latest version :)
@mrlubos oh, I just had to be on the latest version :-D
Thanks and apologies for wasting your time.
No worries @vladmiller, thank you for using this package!
Description
I have a monorepo managed with pnpm, where typescript dependency lives in the root package.json file.
Now,
openapi-ts
does not see typescript from root module and requires typescript that is installed locally.OpenAPI specification (optional)
No response
Configuration
No response
System information (optional)
No response