From: Afreen Misbah Date: Thu, 17 Jul 2025 16:45:11 +0000 (+0530) Subject: mgr/dashboard: add rollup as optional deps X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7cf54cc4405130df3e27237ce3f1356224273a8d;p=ceph.git 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 tit this make check arm64 failing - added the fix as per https://github.com/vitejs/vite/discussions/15532#discussioncomment-13369584 Signed-off-by: Afreen Misbah --- diff --git a/src/pybind/mgr/dashboard/frontend/package.json b/src/pybind/mgr/dashboard/frontend/package.json index 404d96749ce..ead033b7e90 100644 --- a/src/pybind/mgr/dashboard/frontend/package.json +++ b/src/pybind/mgr/dashboard/frontend/package.json @@ -155,5 +155,8 @@ }, "cypress-cucumber-preprocessor": { "stepDefinitions": "cypress/e2e/common" + }, + "optionalDependencies": { + "@rollup/rollup-linux-x64-gnu": "4.22.4" } }