Skip to content

[Inventory-UI] Build fails due to uninitialized Common-UI submodule is not documented in setup guide #134

@santhosh-7777

Description

@santhosh-7777

Environment

  • OS: Windows 11
  • Node: v18.20.8
  • Git: 2.48.1

Problem

After cloning Inventory-UI and running npm start,
build fails with errors across all components:

Cannot find module 'Common-UI/src/registrar/services/session-storage.service'

This affects 40+ components and makes the app
completely unusable.

Root Cause

Inventory-UI uses Common-UI as a git submodule.
The submodule is not initialized after a standard clone.

Fix (Verified)

Run this command after cloning:
git submodule update --init --recursive

After running this, build succeeds successfully.

Suggestion

Add this step to the README and AMRIT setup documentation:
After cloning, run:
git submodule update --init --recursive

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