Skip to content

Module not found: Can't resolve './apps.browser.generated' #3000

@jhjadmin

Description

@jhjadmin

Found a bug? Please fill out the sections below. 👍

Issue Summary

After starting the application with yarn dev and browsing to the login page throws the error:

@calcom/web:dev: https://nextjs.org/docs/messages/module-not-found
@calcom/web:dev: info  - automatically enabled Fast Refresh for 1 custom loader
@calcom/web:dev: wait  - compiling /_error (client and server)...
@calcom/web:dev: wait  - compiling...
@calcom/web:dev: error - ../../packages/app-store/utils.ts:8:0
@calcom/web:dev: Module not found: Can't resolve './apps.browser.generated'
@calcom/web:dev:    6 | // If you import this file on any app it should produce circular dependency
@calcom/web:dev:    7 | // import appStore from "./index";
@calcom/web:dev: >  8 | import { appStoreMetadata } from "./apps.browser.generated";
@calcom/web:dev:    9 | import { LocationType } from "./locations";
@calcom/web:dev:   10 | 
@calcom/web:dev:   11 | const ALL_APPS_MAP = Object.keys(appStoreMetadata).reduce((store, key) => {
@calcom/web:dev: 
@calcom/web:dev: Import trace for requested module:
@calcom/web:dev: ./server/routers/viewer.tsx
@calcom/web:dev: ./server/routers/_app.ts
@calcom/web:dev: ./server/lib/ssr.ts
@calcom/web:dev: ./pages/auth/login.tsx

Steps to Reproduce

  1. Follow the installation steps in the documents (Self-Hosting > Installation)
  2. Setting Up PostgreSQL
  3. Run the command yarn dev
  4. Go to the url http://ip-address:3000

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

Technical details

Nodejs version = 6.14.17
yarn version = 1.22.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions