Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049196 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [POS2] Core | major | have not tried | 2022-05-03 15:26 | 2022-05-09 15:19 | |||
Reporter | jarmendariz | View Status | public | |||||
Assigned To | jarmendariz | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | TAP | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | TAP | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | AugustoMauch | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049196: 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0137087) jarmendariz (developer) 2022-05-09 15:19 |
Fixed and reviewed on MR https://gitlab.com/obcustomers/AGAP/openbravo/-/merge_requests/7 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2022-05-03 15:26 | jarmendariz | New Issue | |
2022-05-03 15:26 | jarmendariz | Assigned To | => jarmendariz |
2022-05-03 15:26 | jarmendariz | Triggers an Emergency Pack | => No |
2022-05-03 15:26 | jarmendariz | Issue generated from | 0047399 |
2022-05-03 15:26 | jarmendariz | Relationship added | related to 0047399 |
2022-05-03 15:26 | jarmendariz | Status | new => scheduled |
2022-05-09 15:18 | jarmendariz | Status | scheduled => resolved |
2022-05-09 15:18 | jarmendariz | Fixed in Version | => TAP |
2022-05-09 15:18 | jarmendariz | Resolution | open => fixed |
2022-05-09 15:19 | jarmendariz | Review Assigned To | => AugustoMauch |
2022-05-09 15:19 | jarmendariz | Note Added: 0137087 | |
2022-05-09 15:19 | jarmendariz | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |