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.
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: {
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
yarn dev
works fine. Just notyarn build