--- a/src/pybind/mgr/dashboard/frontend/CMakeLists.txt +++ b/src/pybind/mgr/dashboard/frontend/CMakeLists.txt @@ -83,7 +83,7 @@ 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 -f ${mgr-dashboard-userconfig} + COMMAND CYPRESS_CACHE_FOLDER=${CMAKE_SOURCE_DIR}/build/src/pybind/mgr/dashboard/cypress NG_CLI_ANALYTICS=false npm i -f ${mgr-dashboard-userconfig} DEPENDS package.json WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMENT "dashboard frontend dependencies are being installed"