]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: add rollup as optional deps
authorAfreen Misbah <afreen@ibm.com>
Sat, 19 Jul 2025 15:35:31 +0000 (21:05 +0530)
committerAfreen Misbah <afreen@ibm.com>
Sat, 19 Jul 2025 16:24:14 +0000 (21:54 +0530)
commit6f14d6f25f06ed3d78a4c603e1ad9f10fc9c17d8
tree44bd6130f162723bfa99b7bd8839a84c126de1a6
parenta0dd52fe100932922ceab9277490bfa2f8631431
 mgr/dashboard: add rollup as optional deps

    - for arm64 hitting (Use `node --trace-warnings ...` to show where the warning was created)
     NX   Cannot find module @rollup/rollup-linux-arm64-gnu. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both package-lock.json and node_modules directory.
    Pass --verbose to see the stacktrace.
    - due this this make check arm64 failing
    - added the fix as per https://github.com/vitejs/vite/discussions/15532#discussioncomment-13369584
    - its failing then  NX  Falling back to ts-node for local typescript execution. This may be a little slower.
     NX   Cannot find module '@rspack/binding-linux-arm64-gnu'
    - the above fix failed asking more deps from rollup, so added whole rollup package

Signed-off-by: Afreen Misbah <afreen@ibm.com
Signed-off-by: Afreen Misbah <afreen@ibm.com>
src/pybind/mgr/dashboard/frontend/package-lock.json
src/pybind/mgr/dashboard/frontend/package.json