Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0049918 | Openbravo ERP | A. Platform | public | 2022-08-01 09:50 | 2022-08-12 10:43 |
| Reporter | cberner | ||||
| Assigned To | Triage Platform Base | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | PR22Q4 | |||
| Merge Request Status | approved | ||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0049918: npm install generates changes by default | ||||
| Description | By default, since the update to node 16 and npm 8, when npm install is executed, there are changes in package-lock.json file. This is due to a flag that is required but not enforced, which is --legacy-peer-deps. Executing npm install --legacy-peer-deps does not generate changes on package-lock.json file. | ||||
| Steps To Reproduce | 1. Have an openbravo environment locally 2. Run npm install command Check that there are changes in package-lock.json 3. Run npm install --legacy-peer-deps Check that there are no changes in package-lock.json | ||||
| Proposed Solution | Create a new file .npmrc at openbravo root level, and include in it the following line: legacy-peer-deps=true This will enforce the flag when we run npm install from the main openbravo directory. | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2022-08-01 09:50 | cberner | New Issue | |||
| 2022-08-01 09:50 | cberner | Assigned To | => Triage Platform Base | ||
| 2022-08-01 09:50 | cberner | OBNetwork customer | => No | ||
| 2022-08-01 09:50 | cberner | Modules | => Core | ||
| 2022-08-01 09:50 | cberner | Triggers an Emergency Pack | => No | ||
| 2022-08-01 09:54 | hgbot | Merge Request Status | => open | ||
| 2022-08-01 09:54 | hgbot | Note Added: 0139758 | |||
| 2022-08-12 10:38 | hgbot | Merge Request Status | open => approved | ||
| 2022-08-12 10:43 | hgbot | Resolution | open => fixed | ||
| 2022-08-12 10:43 | hgbot | Status | new => closed | ||
| 2022-08-12 10:43 | hgbot | Fixed in Version | => PR22Q4 | ||
| 2022-08-12 10:43 | hgbot | Note Added: 0140084 | |||
| 2022-08-12 10:43 | hgbot | Note Added: 0140085 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||