]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: update nodejs to 18.17.0
authorNizamudeen A <nia@redhat.com>
Mon, 28 Aug 2023 14:45:06 +0000 (20:15 +0530)
committerNizamudeen A <nia@redhat.com>
Fri, 22 Sep 2023 06:49:29 +0000 (12:19 +0530)
commit47f49e5b1ae2e5bf7aad5df23d877ae5df00210c
treeda5b56cb66f7aa6256ab21ad2770ba52b84359f5
parent7f8f232da45721f669b313bb883af948c7a9cce1
mgr/dashboard: update nodejs to 18.17.0

the latest npm doesn't support setting python as a config like `npm
config set python3` instead it needs to be either set in the node-gyp
explicitly using the node-gyp command or through an environment
variable.
Since we are calling the node-gyp through npm, we need to set the
environment variable which is documented here: https://github.com/nodejs/node-gyp?tab=readme-ov-file#configuring-python-dependency

Accordingly the CMakeLists.txt for dashboard is adapted

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