]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: add rollup as optional deps mfe-app-shell
authorAfreen Misbah <afreen@ibm.com>
Thu, 17 Jul 2025 16:45:11 +0000 (22:15 +0530)
committerAfreen Misbah <afreen@ibm.com>
Thu, 17 Jul 2025 16:45:11 +0000 (22:15 +0530)
- 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 <afreen@ibm.com>
src/pybind/mgr/dashboard/frontend/package.json

index 404d96749ce8499488d62dc1e3a9f0f926e014d4..ead033b7e903a4499a390626b03c4b926fee8b55 100644 (file)
   },
   "cypress-cucumber-preprocessor": {
     "stepDefinitions": "cypress/e2e/common"
+  },
+  "optionalDependencies": {
+    "@rollup/rollup-linux-x64-gnu": "4.22.4"
   }
 }