Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
poi33 opened this issue Mar 14, 2022 · 0 comments
Open

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

poi33 opened this issue Mar 14, 2022 · 0 comments

Comments

@poi33
Copy link

poi33 commented Mar 14, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant