use npm from install

This commit is contained in:
AJ ONeal 2017-07-21 15:40:27 -06:00
parent f3beb4795f
commit c34b0444c1
1 changed files with 3 additions and 2 deletions

View File

@ -190,8 +190,9 @@ dap_dl_bash "https://git.daplie.com/coolaj86/node-install-script/raw/master/setu
# OS X or Linux
$sudo_cmd chown -R $(whoami) /opt/goldilocks/ || true
npm install -g npm@4
npm install -g 'git+https://git@git.daplie.com/Daplie/goldilocks.js.git#v1'
my_npm="$NPM_CONFIG_PREFIX/bin/npm"
$my_npm install -g npm@4
$my_npm install -g 'git+https://git@git.daplie.com/Daplie/goldilocks.js.git#v1'
# Finish up with submodule
pushd /opt/goldilocks/lib/node_modules/goldilocks
bash ./update-packages.sh