Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0055175 | POS2 | Core | public | 2024-04-11 17:05 | 2024-04-15 12:44 |
|
Reporter | cberner | |
Assigned To | cberner | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 24Q3 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0055175: ant build with vite fail in arm64 environments (i.e. AWS cloud - Graviton) |
Description | When running ant build in a cloud instance the following error is thrown:
Error: Cannot find module @rollup/rollup-linux-arm64-gnu. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828 [^]). Please try `npm i` again after removing both package-lock.json and node_modules directory.
at requireWithFriendlyError (/opt/OpenbravoERP/modules/org.openbravo.core2/web-jspack/org.openbravo.core2/node_modules/rollup/dist/native.js:87:9) |
Steps To Reproduce | 1. Setup or as for an AWS instance(with arm64 architecture) with Openbravo
2. Run ant build in core2 module
Check that the mentioned error appears. |
Proposed Solution | An option would be to add the mentioned dependency as an optionalDependency of core2. That should fix the original issue, further testing is required. |
Additional Information | |
Tags | No tags attached. |
Relationships | caused by | feature request | 0054570 | | closed | cberner | CRA should be replaced by an alternative, Vite |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2024-04-11 17:05 | cberner | New Issue | |
2024-04-11 17:05 | cberner | Assigned To | => cberner |
2024-04-11 17:05 | cberner | Triggers an Emergency Pack | => No |
2024-04-11 17:05 | cberner | Status | new => acknowledged |
2024-04-11 17:05 | cberner | Relationship added | caused by 0054570 |
2024-04-11 17:07 | hgbot | Note Added: 0163109 | |
2024-04-11 17:35 | shuehner | Issue Monitored: shuehner | |
2024-04-12 09:31 | hgbot | Resolution | open => fixed |
2024-04-12 09:31 | hgbot | Status | acknowledged => closed |
2024-04-12 09:31 | hgbot | Fixed in Version | => 24Q3 |
2024-04-12 09:31 | hgbot | Note Added: 0163127 | |
2024-04-12 09:31 | hgbot | Note Added: 0163128 | |
2024-04-15 12:44 | shuehner | Summary | Cloud instances fail ant build on vite environment => ant build with vite fail in arm64 environments (i.e. AWS cloud - Graviton) |