Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046781Retail ModulesSessionspublic2021-05-21 10:562021-05-21 10:56
shuehner 
Retail 
normalminorhave not tried
newopen 
5
 
 
No
0046781: Fix warning about npm dependencies already defined in other modules depended upon.
Installing sessions modules i.e. in pos2 workspace shows the following warning during npm install

Warning: Package fake-indexeddb defined in modules/org.openbravo.retail.sessions/package.json but already defined in modules/org.openbravo.mobile.core/package.json with same version ^3.0.0
Warning: Package backbone defined in modules/org.openbravo.retail.sessions/package.json but already defined in modules/org.openbravo.mobile.core/package.json with same version =0.9.2
Warning: Package deepfreeze defined in modules/org.openbravo.retail.sessions/package.json but already defined in modules/org.openbravo.core2/web-jspack/org.openbravo.core2/package.json with same version ^2.0.0
Warning: Package deepfreeze defined in modules/org.openbravo.retail.sessions/package.json but already defined in modules/org.openbravo.mobile.core/package.json with same version ^2.0.0
All three modules:
- fake-indexeddb
- backbone
- deepfreeze

Are already dependencies of org.openbravo.mobile.core
The session modules indirectly (via retail.posterminal) also depends on mobile.core

Assuming depencieswork fine all three modules should be removed from the package.json of the sessions module.
In a workspace with retail.session module installed
run npm install
Check output for the warnings shown above
No tags attached.
related to defect 0046779 acknowledged Triage Platform Base POS2 Fix warning that core2 dependency deepfreeze is already depended upon by mobile.core 
Issue History
2021-05-21 10:56shuehnerNew Issue
2021-05-21 10:56shuehnerAssigned To => Retail
2021-05-21 10:56shuehnerTriggers an Emergency Pack => No
2021-05-21 10:56shuehnerRelationship addedrelated to 0046779

There are no notes attached to this issue.