fix(core): update

This commit is contained in:
Philipp Kunz 2019-08-23 17:04:29 +02:00
parent a5ca5444a0
commit 467eed57d7

View File

@ -50,6 +50,8 @@ export let install = async versionArg => {
} else { } else {
logger.log('warn', 'Nvm not in path so staying at installed node version!'); 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('node -v');
await bash('npm -v'); await bash('npm -v');
await bash(`npm config set cache ${paths.NpmciCacheDir} --global `); await bash(`npm config set cache ${paths.NpmciCacheDir} --global `);