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

Unable to build the image #307

Closed MFYDev closed 9 months ago

MFYDev commented 9 months ago

Correctly set up the env, and try to build one by myself, but seems like there is an error about the yarn package

16 216.5 @calcom/web:build: Type error: Cannot find module 'node-mocks-http' or its corresponding type declarations.

16 216.5 @calcom/web:build:

16 216.5 @calcom/web:build: > 1 | import { createMocks } from "node-mocks-http";

16 216.5 @calcom/web:build: | ^

16 216.5 @calcom/web:build: 2 |

16 216.5 @calcom/web:build: 3 | import type {

16 216.5 @calcom/web:build: 4 | CustomNextApiRequest,

16 216.9

16 216.9 Tasks: 5 successful, 6 total

16 216.9 Cached: 0 cached, 6 total

16 216.9 Time: 3m34.399s

16 216.9 Failed: @calcom/web#build

MFYDev commented 9 months ago

Solution: cd to calcom folder and run yarn add node-mocks-http