Openbravo Issue Tracking System - POS2
View Issue Details
0049023POS2Corepublic2022-04-11 10:062024-03-14 11:21
jarmendariz 
Triage Platform Base 
normalmajorhave not tried
newopen 
5
 
 
No
0049023: Remove --legacy-peer-deps flag when possible
As part of issue 0048870, the flag --legacy-peer-deps were introduced to avoid installing the local Openbravo modules as peer dependencies, which greatly increases the build time. Also, some peer dependency warnings were found during npm install, specifically for react-spring, which its current version does not support React 17.
See description
This issue should be done after 0049012 and once this issue in react-spring is fixed: https://github.com/pmndrs/react-spring/issues/1861 [^]

Then we should test that the project builds properly and that jest tests run successfully and it doesn't appear the 'multiple React instances' error.
No tags attached.
related to feature request 0048870 closed jarmendariz Add support to Node 16/Npm 8 
depends on design defect 0049012 new Triage Platform Base Remove peer dependencies of local OB modules 
Not all the children of this issue are yet resolved or closed.
Issue History
2022-04-11 10:06jarmendarizNew Issue
2022-04-11 10:06jarmendarizAssigned To => Triage Platform Base
2022-04-11 10:06jarmendarizTriggers an Emergency Pack => No
2022-04-11 10:06jarmendarizRelationship addeddepends on 0049012
2022-04-11 10:06jarmendarizRelationship addedrelated to 0048870
2024-03-14 11:21cbernerNote Added: 0162149

Notes
(0162149)
cberner   
2024-03-14 11:21   
The issue for the react-spring issue has been fixed here: https://github.com/pmndrs/react-spring/pull/2068 [^]

It should be possible to work on both 49012 and this issue.