Openbravo Issue Tracking System - POS2 | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0047399 | POS2 | Core | public | 2021-07-15 11:35 | 2022-05-03 15:26 | |||||||||||||||||||||
Reporter | shuehner | |||||||||||||||||||||||||
Assigned To | jarmendariz | |||||||||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | |||||||||||||||||||||||||
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 | 0047399: npm ci fails with nodejs 16.x in openbravo custom script (preinstall) | |||||||||||||||||||||||||
Description | Running npm ci in source.path using Node 16.x and npm 7.x it fails in Openbravo custom preinstall code node --version v16.4.1 npm --version 7.18.1 > install > node $npm_package_config_install Validating npm dependencies included in Openbravo modules... node:internal/fs/utils:343 throw err; ^ Error: ENOENT: no such file or directory, stat '/home/huehner/ob/branches/pi_pos2_pg/node_modules_global' at Object.statSync (node:fs:1526:3) at __node_internal_ (node:internal/fs/utils:767:8) at Object.rmdirSync (node:fs:1146:15) at Object.<anonymous> (/home/huehner/ob/branches/pi_pos2_pg/modules/org.openbravo.client.kernel/build-scripts/install-deps.js:53:4) at Module._compile (node:internal/modules/cjs/loader:1095:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:816:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) at node:internal/main/run_main_module:17:47 { errno: -2, syscall: 'stat', code: 'ENOENT', path: '/home/huehner/ob/branches/pi_pos2_pg/node_modules_global' } | |||||||||||||||||||||||||
Steps To Reproduce | 1.) Use nodejs 16 from the deb.nodesource.com repo deb http://deb.nodesource.com/node_16.x [^] sid main 2.) Apply attached path to allow the newer node/npm versions in our version check 3.) Run npm ci in source.path | |||||||||||||||||||||||||
Proposed Solution | ||||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | hack-for-node-16.diff (1,016) 2021-07-15 11:38 https://issues.openbravo.com/file_download.php?file_id=16015&type=bug | |||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2021-07-15 11:35 | shuehner | New Issue | ||||||||||||||||||||||||
2021-07-15 11:35 | shuehner | Assigned To | => Retail | |||||||||||||||||||||||
2021-07-15 11:35 | shuehner | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2021-07-15 11:36 | shuehner | Note Added: 0130501 | ||||||||||||||||||||||||
2021-07-15 11:38 | shuehner | File Added: hack-for-node-16.diff | ||||||||||||||||||||||||
2021-07-15 11:39 | shuehner | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=22890#r22890 | |||||||||||||||||||||||
2021-07-15 12:37 | shuehner | Note Added: 0130506 | ||||||||||||||||||||||||
2021-07-15 12:40 | dmiguelez | Resolution time | => 1629928800 | |||||||||||||||||||||||
2021-07-15 12:40 | dmiguelez | Assigned To | Retail => platform | |||||||||||||||||||||||
2021-07-15 12:40 | dmiguelez | Status | new => acknowledged | |||||||||||||||||||||||
2021-07-15 12:41 | shuehner | Relationship added | blocks 0047401 | |||||||||||||||||||||||
2021-08-16 12:18 | AugustoMauch | Resolution time | 1629928800 => 1631656800 | |||||||||||||||||||||||
2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base | |||||||||||||||||||||||
2022-03-28 12:19 | shuehner | Relationship added | blocks 0048870 | |||||||||||||||||||||||
2022-03-31 09:56 | AugustoMauch | Note Added: 0136198 | ||||||||||||||||||||||||
2022-04-06 14:44 | hgbot | Note Added: 0136357 | ||||||||||||||||||||||||
2022-04-06 14:55 | jarmendariz | Status | acknowledged => scheduled | |||||||||||||||||||||||
2022-04-12 11:46 | jarmendariz | Assigned To | Triage Platform Base => jarmendariz | |||||||||||||||||||||||
2022-04-13 09:00 | jarmendariz | Status | scheduled => acknowledged | |||||||||||||||||||||||
2022-04-13 09:00 | jarmendariz | Status | acknowledged => scheduled | |||||||||||||||||||||||
2022-04-15 11:36 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2022-04-15 11:36 | hgbot | Status | scheduled => closed | |||||||||||||||||||||||
2022-04-15 11:36 | hgbot | Fixed in Version | => PR22Q3 | |||||||||||||||||||||||
2022-04-15 11:36 | hgbot | Note Added: 0136524 | ||||||||||||||||||||||||
2022-04-15 11:36 | hgbot | Note Added: 0136525 | ||||||||||||||||||||||||
2022-05-03 15:26 | jarmendariz | Issue cloned | 0049196 | |||||||||||||||||||||||
2022-05-03 15:26 | jarmendariz | Relationship added | related to 0049196 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|