From 467eed57d7dec416c5275f5664e090e86657e365 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Fri, 23 Aug 2019 17:04:29 +0200 Subject: [PATCH] fix(core): update --- ts/mod_node/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ts/mod_node/index.ts b/ts/mod_node/index.ts index 708a366..188f4c5 100644 --- a/ts/mod_node/index.ts +++ b/ts/mod_node/index.ts @@ -50,6 +50,8 @@ export let install = async versionArg => { } else { logger.log('warn', 'Nvm not in path so staying at installed node version!'); } + logger.log('info', 'now installing latest npm version'); + await bash('npm install -g npm'); await bash('node -v'); await bash('npm -v'); await bash(`npm config set cache ${paths.NpmciCacheDir} --global `);