On ചൊവ്വ 20 ഫെബ്രുവരി 2018 02:29 വൈകു, Libor Klepáč wrote:
> Package: gitlab
> Version: 9.5.4+dfsg-5
> Severity: normal
> Hello,
> it seems, that javascript locales are not precompiled before running webpack.
> Upstream changed to yarn based build system and fixed it here.
> https://gitlab.com/gitlab-org/gitlab-ce/commit/4c57d5ad188fe59e0c85798ccc4c81405652048c
> You can run
> bundle exec rake gettext:po_to_json 
> before webpack to fix it.
> Problem is, it needs to write to 
> /usr/share/gitlab/app/assets/javascripts/locale/
> So it must be set writeable by user gitlab or run as root.
> Without this step, javascript is broken, it fails to load timeago.js, 
> screenshot in attachement

I have pushed a fix to git, but now it fails to install (possibly
unrelated to this change because I'm trying on a clean system now), so
not uploaded a new version yet.

I, [2018-02-22T18:19:13.958461 #7774]  INFO -- : Writing
I, [2018-02-22T18:19:13.959968 #7774]  INFO -- : Writing
I, [2018-02-22T18:19:14.128913 #7774]  INFO -- : Writing
I, [2018-02-22T18:19:14.129177 #7774]  INFO -- : Writing
I, [2018-02-22T18:19:14.850053 #7774]  INFO -- : Writing
I, [2018-02-22T18:19:14.850316 #7774]  INFO -- : Writing
rake aborted!

ExecJS::ProgramError: TypeError: UglifyJS.Compressor is not a function
apply.source (eval at <anonymous> ((execjs):4108:8), <anonymous>:23:35)
eval (eval at <anonymous> ((execjs):4108:8), <anonymous>:63:2)
Object.<anonymous> ((execjs):1:120)
Module._compile (module.js:635:30)
Object.Module._extensions..js (module.js:646:10)
Module.load (module.js:554:32)
tryModuleLoad (module.js:497:12)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to