From cb156914b666f16d84fe9e22feefcfb5e33ddacb Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 3 Feb 2019 08:28:45 +0100 Subject: [PATCH] activating yarn --- scripts/install | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index d450ac3..01fa605 100644 --- a/scripts/install +++ b/scripts/install @@ -190,12 +190,13 @@ chown -R "$app":"$app" "$final_path" pushd $final_path ynh_use_nodejs - sudo -u $app env PATH=$PATH:$nodejs_path npm install "acorn@^6.0.0" --save - sudo -u $app env PATH=$PATH:$nodejs_path npm install "babel-core@>=6.0.20" --save - sudo -u $app env PATH=$PATH:$nodejs_path npm install "graphql@^0.13.0" --save - sudo -u $app env PATH=$PATH:$nodejs_path npm install "eslint@>=5.0.0" --save - sudo -u $app env PATH=$PATH:$nodejs_path npm install - sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix + #sudo -u $app env PATH=$PATH:$nodejs_path npm install "acorn@^6.0.0" --save + #sudo -u $app env PATH=$PATH:$nodejs_path npm install "babel-core@>=6.0.20" --save + #sudo -u $app env PATH=$PATH:$nodejs_path npm install "graphql@^0.13.0" --save + #sudo -u $app env PATH=$PATH:$nodejs_path npm install "eslint@>=5.0.0" --save + #sudo -u $app env PATH=$PATH:$nodejs_path npm install + #sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix + sudo -u $app env PATH=$PATH:$nodejs_path yarn install sudo -u $app env PATH=$PATH:$nodejs_path npm run build popd