Skip to content

Missing dependencies on a clean install #1482

@VirtueMe

Description

@VirtueMe

I'm in the process of upgrading my 4 old react4xp application. It has been everything else than a smooth operation, but I got help with claude code and he found these issues before I have gotten started:

The build was failing due to several missing dependencies. I fixed it by:

  1. Cleaned and reinstalled node_modules - The esbuild installation was corrupted
  2. Added missing peer dependencies:
    - html-react-parser (required by @enonic/react-components)
    - prop-types (required by @enonic/react-components)
    - ajv@^8 (version conflict - ajv-keywords needed v8 but v6 was installed)
    - jest (test runner was missing)

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