You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ bun run build
strapi build
[WARN] [@strapi/strapi]: The NODE_ENV is not set to production. This may result in unexpected behavior.
⠋ Building build context
[INFO] Including the following ENV variables as part of the JS bundle:
- ADMIN_PATH
- STRAPI_ADMIN_BACKEND_URL
- STRAPI_TELEMETRY_DISABLED
✔ Building build context (56ms)
⠋ Building admin panel
⠏ Building admin panel[ERROR] Module not found: Error: Can't resolve 'codemirror5/addon/display/placeholder' in '/home/xxxxxxx/project/backend/node_modules/@strapi/admin/dist/admin'
✖ Building admin panel
[ERROR] There seems to be an unexpected error, try again with --debug for more information
error: script "build" exited with code 1
The text was updated successfully, but these errors were encountered:
marcogermani87
changed the title
Can't resolve
Can't resolve 'codemirror5/addon/display/placeholder' - Strapi v4.24.2
May 11, 2024
marcogermani87
changed the title
Can't resolve 'codemirror5/addon/display/placeholder' - Strapi v4.24.2
Can't resolve 'codemirror5/addon/display/placeholder' on v4.24.2
May 11, 2024
We ask that you please follow the issue template.
A proper issue submission let's us better understand the origin of your bug and therefore help you. We will reopen your issue when we receive the issue following the template guidelines and properly fill out the template. You can see the template guidelines for bug reports here.
Please update the issue with the template and we can reopen this report.
Bug report
Required System information
Describe the bug
Upgrade from v4.24.0 to 4.24.2:
$ bun run build
strapi build
[WARN] [@strapi/strapi]: The NODE_ENV is not set to production. This may result in unexpected behavior.
⠋ Building build context
[INFO] Including the following ENV variables as part of the JS bundle:
- ADMIN_PATH
- STRAPI_ADMIN_BACKEND_URL
- STRAPI_TELEMETRY_DISABLED
✔ Building build context (56ms)
⠋ Building admin panel
⠏ Building admin panel[ERROR] Module not found: Error: Can't resolve 'codemirror5/addon/display/placeholder' in '/home/xxxxxxx/project/backend/node_modules/@strapi/admin/dist/admin'
✖ Building admin panel
[ERROR] There seems to be an unexpected error, try again with --debug for more information
error: script "build" exited with code 1
The text was updated successfully, but these errors were encountered: