From 6725cd44d057ef1e6a033df375aa430db7468c28 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Wed, 14 Feb 2018 14:44:28 +0530 Subject: [PATCH] needs a newer npm for @ support in module names --- debian/rake-tasks.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh index 7762cc5ef1..5e4598f65c 100755 --- a/debian/rake-tasks.sh +++ b/debian/rake-tasks.sh @@ -30,8 +30,8 @@ chmod 0700 ${gitlab_data_dir}/.gitlab_shell_secret echo "Installing node modules" runuser -u ${gitlab_user} -- sh -c 'install -d /var/lib/gitlab/node_modules' -runuser -u ${gitlab_user} -- sh -c 'npm install' -runuser -u ${gitlab_user} -- sh -c 'npm install regexpu-core' +runuser -u ${gitlab_user} -- sh -c 'npm install npm' +runuser -u ${gitlab_user} -- sh -c 'node_modules/.bin/npm install' runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack' runuser -u ${gitlab_user} -- sh -c 'NODE_PATH=/usr/share/gitlab/node_modules webpack --config config/webpack.config.js'