From cd2b26f653ddedf0ed1b937cfaf8bcf7aaf48ce6 Mon Sep 17 00:00:00 2001 From: Duncan Bellamy Date: Sun, 5 Sep 2021 08:35:48 +0100 Subject: [PATCH] mgr/dashboard: use -f for npm ci to skip fsevents error Fixes: https://tracker.ceph.com/issues/52507 Signed-off-by: Duncan Bellamy --- src/pybind/mgr/dashboard/frontend/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/frontend/CMakeLists.txt b/src/pybind/mgr/dashboard/frontend/CMakeLists.txt index bce59d07dd8..cb76722bac1 100644 --- a/src/pybind/mgr/dashboard/frontend/CMakeLists.txt +++ b/src/pybind/mgr/dashboard/frontend/CMakeLists.txt @@ -83,7 +83,7 @@ endif(WITH_SYSTEM_NPM) add_npm_command( OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/node_modules" - COMMAND CYPRESS_CACHE_FOLDER=${CMAKE_SOURCE_DIR}/build/src/pybind/mgr/dashboard/cypress NG_CLI_ANALYTICS=false npm ci ${mgr-dashboard-userconfig} + COMMAND CYPRESS_CACHE_FOLDER=${CMAKE_SOURCE_DIR}/build/src/pybind/mgr/dashboard/cypress NG_CLI_ANALYTICS=false npm ci -f ${mgr-dashboard-userconfig} DEPENDS package.json WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMENT "dashboard frontend dependencies are being installed" -- 2.39.5