diff --git a/Makefile b/Makefile index a7099947c72a78..b11168aaa456af 100644 --- a/Makefile +++ b/Makefile @@ -643,7 +643,7 @@ available-node = \ exit 1; \ fi; -run-npm-install = $(PWD)/$(NPM) install --production +run-npm-install = $(PWD)/$(NPM) install --production --no-package-lock tools/doc/node_modules/js-yaml/package.json: cd tools/doc && $(call available-node,$(run-npm-install))