diff --git a/ui/Makefile b/ui/Makefile index 6ec1c8d074..f54a904e39 100644 --- a/ui/Makefile +++ b/ui/Makefile @@ -13,7 +13,7 @@ SHELL := env PATH=$(PATH) /bin/sh .DEFAULT_GOAL := build/index.html $(NODE_INSTALL): package.json package-lock.json - @if [ -e $(NODE_INSTALL) ]; then npm install ; else npm ci; fi + @if [ -e $(NODE_INSTALL) ]; then npm install ; else rm -fr node_modules && npm install; fi touch $@ .PHONY: npm-fetch