]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
deps: increase the node version to 16 52546/head
authorNizamudeen A <nia@redhat.com>
Wed, 19 Jul 2023 16:04:31 +0000 (21:34 +0530)
committerNizamudeen A <nia@redhat.com>
Fri, 21 Jul 2023 06:03:18 +0000 (11:33 +0530)
commit692a45362db367ab5a9410c35a8fae91f419b6ec
tree475eadb945aa60269ae6d0f617f58999124d2144
parenta49357a6c242364c2dfa18d1f7127e8fd42cabe8
deps: increase the node version to 16

With node 14, the angular 13 is going into some issues with node-gyp.
```
prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=14.20.0 runtime=node arch=x64 libc= platform=linux)
make: Entering directory '/home/jenkins-build/build/workspace/ceph-dashboard-cephadm-e2e/src/pybind/mgr/dashboard/frontend/node_modules/tree-sitter/build'
  CC(target) Release/obj.target/tree_sitter/vendor/tree-sitter/lib/src/lib.o
  AR(target) Release/obj.target/tree_sitter.a
  COPY Release/tree_sitter.a
  CXX(target) Release/obj.target/tree_sitter_runtime_binding/src/binding.o
```
and in some other environments its like `cb() never called` and stops
the whole `npm ci` process.

After some research, looks like updating node is the way to stop this.

Also, ` npm 7 will block installations if an upstream dependency
conflict is present that cannot be automatically resolved.` https://github.blog/2021-02-02-npm-7-is-now-generally-available/#peer-dependencies

Fixes: https://tracker.ceph.com/issues/62107
Signed-off-by: Nizamudeen A <nia@redhat.com>
doc/dev/developer_guide/dash-devel.rst
make-dist
src/pybind/mgr/dashboard/frontend/.npmrc
src/pybind/mgr/dashboard/frontend/CMakeLists.txt
src/pybind/mgr/dashboard/frontend/package-lock.json