From 7c139a37b43a5cdac1d89500404847a79e06b300 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Tue, 17 Jul 2018 12:50:21 -0600 Subject: [PATCH] fix: sudo with global npm update --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1680a0cca..e65bc925a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: key: dependency-cache-{{ checksum "package-lock.json" }} - run: name: Update NPM - command: npm update -g npm + command: sudo npm update -g npm - run: name: Install dependencies command: npm install