loaders can't be found in system path now
This commit is contained in:
parent
9a6241d565
commit
e71e374c7f
1 changed files with 0 additions and 2 deletions
2
debian/rake-tasks.sh
vendored
2
debian/rake-tasks.sh
vendored
|
@ -28,8 +28,6 @@ chmod 0700 ${gitlab_data_dir}/.gitlab_shell_secret
|
||||||
echo "Installing node modules"
|
echo "Installing node modules"
|
||||||
runuser -u ${gitlab_user} -- sh -c 'install -d /var/lib/gitlab/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'
|
||||||
runuser -u ${gitlab_user} -- sh -c 'ln -fs /usr/lib/nodejs/exports-loader node_modules'
|
|
||||||
runuser -u ${gitlab_user} -- sh -c 'ln -fs /usr/lib/nodejs/raw-loader node_modules'
|
|
||||||
runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack'
|
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'
|
runuser -u ${gitlab_user} -- sh -c 'NODE_PATH=/usr/share/gitlab/node_modules webpack --config config/webpack.config.js'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue