]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: use -f for npm ci to skip fsevents error 44105/head
authorDuncan Bellamy <dunk@denkimushi.com>
Sun, 5 Sep 2021 07:35:48 +0000 (08:35 +0100)
committerNizamudeen A <nia@redhat.com>
Thu, 25 Nov 2021 12:09:10 +0000 (17:39 +0530)
Fixes: https://tracker.ceph.com/issues/52507
Signed-off-by: Duncan Bellamy <dunk@denkimushi.com>
(cherry picked from commit cd2b26f653ddedf0ed1b937cfaf8bcf7aaf48ce6)

   Conflicts:
src/pybind/mgr/dashboard/CMakeLists.txt
   - In master this file was moved to frontend folder. Since its not
     done in pacific, just made the changes here.

src/pybind/mgr/dashboard/CMakeLists.txt

index 9b3432213a016baf9327ed5132aef48e2b726710..0c8d46d65ee99499920bcbd61cdbc04868ff4518 100644 (file)
@@ -76,7 +76,7 @@ endif(WITH_SYSTEM_NPM)
 
 add_npm_command(
   OUTPUT "${CMAKE_SOURCE_DIR}/src/pybind/mgr/dashboard/frontend/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 frontend/package.json
   WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/pybind/mgr/dashboard/frontend
   COMMENT "dashboard frontend dependencies are being installed"