Skip to content

The react4xp components break in a folder name with space #1

@poi33

Description

@poi33
ERROR in ./node_modules/react4xp-regions/entries/react4xp-regions/Layout.jsx 1:25-59
Module not found: Error: Can't resolve 'prop-types' in '\enonic test\react4xp\node_modules\react4xp-regions\entries\react4xp-regions'

ERROR in ./node_modules/react4xp-regions/entries/react4xp-regions/Layout.jsx 1:59-105
Module not found: Error: Can't resolve 'react4xp-regions/Regions' in '\enonic test\react4xp\node_modules\react4xp-regions\entries\react4xp-regions'

ERROR in ./node_modules/react4xp-regions/entries/react4xp-regions/Page.jsx 1:25-59
Module not found: Error: Can't resolve 'prop-types' in '\enonic test\react4xp\node_modules\react4xp-regions\entries\react4xp-regions'

ERROR in ./node_modules/react4xp-regions/entries/react4xp-regions/Page.jsx 1:59-105
Module not found: Error: Can't resolve 'react4xp-regions/Regions' in '\enonic test\react4xp\node_modules\react4xp-regions\entries\react4xp-regions'

ERROR in ./src/main/resources/site/pages/default/default.jsx 1:97-143
Module not found: Error: Can't resolve 'react4xp-regions/Regions' in '\enonic test\react4xp\src\main\resources\site\pages\default'

5 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.70.0 compiled with 5 errors in 1486 ms

> Task :react4xp_components FAILED

The enonic test folder is breaking the build

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