On Thu, Jan 7, 2021 at 6:55 pm, Pirate Praveen
<prav...@onenetbeyond.org> wrote:
I found another error while trying to update to gitlab 13.5 which I
think could be an issue here.
You can try to build from master-13.5 branch of gitlab. Or probably
try this patch in master branch or current version in unstable (or I
will get to trying it eventually).
https://salsa.debian.org/ruby-team/gitlab/-/blob/f9af389e35d0cadfa6c2e95387d09ec97418397d/debian/patches/0740-use-packaged-modules.patch#L43
ie, add 'node_modules' as first entry in config/webpack.config.js
resolve and resolveLoader options.
You can modify /usr/share/gitlab/config/webpack.config.js and run
webpack directly from /usr/share/gitlab directory.
runuser -u ${gitlab_user} -- sh -c 'NODE_ENV="production"
NODE_PATH="node_modules" NODE_OPTIONS="--max-old-space-size=4096"
webpack --config config/webpack.config.js'
with gitlab_user variable set to your gitlab user.
I tried the same and this does not fix the bug either.