Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051281
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2023-01-03 14:522023-01-09 17:15
ReportershuehnerView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionfixedFixed in VersionPR23Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051281: npm WARN config production Use `--omit=dev` instead

DescriptionRecent versions of npm ci/install deprecated use of --production and recommend to use --omit=dev instead.

backoffice/core code contains 1 such call in
modules/org.openbravo.client.kernel/build-scripts/install-deps.js

triggering that warnings once even if caller of npm ci/install is already using the new parameter.
Steps To Reproducerun "npm ci --omit=dev"
Observer warning is still being shown once
Proposed SolutionSwitch to --omit=dev
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0145134)
hgbot (developer)
2023-01-03 14:56

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/804 [^]
(0145216)
hgbot (developer)
2023-01-09 17:15

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 99d028287a7efbe77ea81c3f8e9f37107da8abd5
Author: Stefan Huehner <stefan.huehner@openbravo.com>
Date: 09-01-2023 17:14:51
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/99d028287a7efbe77ea81c3f8e9f37107da8abd5 [^]

Fixes ISSUE-51281: Avoid npm WARN about --production

npm suggests using --omit=dev instead of --production
to skip installing devDependencies.
Switch to the new syntax in the install-deps.js script

---
M modules/org.openbravo.client.kernel/build-scripts/install-deps.js
---
(0145217)
hgbot (developer)
2023-01-09 17:15

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/804 [^]

- Issue History
Date Modified Username Field Change
2023-01-03 14:52 shuehner New Issue
2023-01-03 14:52 shuehner Assigned To => Triage Platform Base
2023-01-03 14:52 shuehner Modules => Core
2023-01-03 14:52 shuehner Triggers an Emergency Pack => No
2023-01-03 14:56 hgbot Note Added: 0145134
2023-01-09 17:15 hgbot Resolution open => fixed
2023-01-09 17:15 hgbot Status new => closed
2023-01-09 17:15 hgbot Fixed in Version => PR23Q1
2023-01-09 17:15 hgbot Note Added: 0145216
2023-01-09 17:15 hgbot Note Added: 0145217


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker