calcom / docker

The Docker configuration for Cal.com is an effort powered by people within the community. Cal.com, Inc. does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
MIT License
646 stars 338 forks source link

Swagger App won't build #268

Closed berts83231 closed 1 year ago

berts83231 commented 1 year ago

Steps to reproduce: 1) Open in Gitpod (from Main. Last commit 09027a5c9776debb3f54177989842024152a55e2) 2) Wait for yarn dx to complete 3) cd apps/swagger 4) yarn install 5) yarn build

Error

calcom-calcom-fkzpb11q3tm% yarn build
- info Linting and checking validity of types ..Failed to compile.

./lib/snippets.ts:1:33
Type error: Could not find a declaration file for module 'openapi-snippet'. '/workspace/cal.com/node_modules/openapi-snippet/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/openapi-snippet` if it exists or add a new declaration (.d.ts) file containing `declare module 'openapi-snippet';`

> 1 | import * as OpenAPISnippet from "openapi-snippet";
    |                                 ^
  2 | 
  3 | export const requestSnippets = {
  4 |   generators: {

yarn dev works fine. Just not yarn build

berts83231 commented 1 year ago

Moved to main repo https://github.com/calcom/cal.com/issues/10023