Fail to do gitlab:assets:compile

Hi,
I have some broken CSS files on main Gitlab omnibus CE instance.
According to manual here frontend assets shall be recompiled without problems.
I’m getting the problems on several instances.
On the main one:

$ sudo gitlab-rake gitlab:assets:compile
Error: EACCES: permission denied, open '/var/opt/gitlab/.config/yarn'
    at Object.openSync (fs.js:458:3)
    at readFileSync (fs.js:360:35)
    at /usr/share/yarn/lib/cli.js:101331:58
    at Array.map (<anonymous>)
    at parseRcPaths (/usr/share/yarn/lib/cli.js:101329:78)
    at Object.findRc (/usr/share/yarn/lib/cli.js:101343:10)
    at getRcConfigForCwd (/usr/share/yarn/lib/cli.js:56915:74)
    at /usr/share/yarn/lib/cli.js:92694:56
    at Generator.next (<anonymous>)
    at step (/usr/share/yarn/lib/cli.js:310:30)
Error: Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install

Yarn is installed and executable. Doing yarn install seems that it installed own packages.
On the other (testing) instance, I have different error:

$ gitlab-rake gitlab:assets:compile
warning Skipping preferred cache folder "/var/opt/gitlab/.cache/yarn" because it is not writable.                                                                      
warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-998".                                                                           
warning Resolution field "ts-jest@24.0.0" is incompatible with requested version "ts-jest@^23.10.5"                                                                    
warning Resolution field "monaco-editor@0.18.1" is incompatible with requested version "monaco-editor-webpack-plugin#monaco-editor@^0.15.1"                            
warning Resolution field "ts-jest@24.0.0" is incompatible with requested version "vue-jest#ts-jest@^23.10.5"                                                           
warning Resolution field "chokidar@3.4.0" is incompatible with requested version "webpack-dev-server#chokidar@^2.1.8"                                                  
warning Resolution field "chokidar@3.4.0" is incompatible with requested version "watchpack#watchpack-chokidar2#chokidar@^2.1.8"                                       
`yarn:check` finished in 6.222370982 seconds
rake aborted!
Errno::EACCES: Permission denied @ rb_sysopen - /opt/gitlab/embedded/service/gitlab-rails/app/assets/javascripts/locale/ar_SA/app.js
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/task_helpers.rb:18:in `invoke_and_time_task'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/assets.rake:58:in `each'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/assets.rake:58:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Tasks: TOP => gettext:po_to_json
(See full trace by running task with --trace)

It looks as it can’t write within /opt/gitlab/embedded/service/gitlab-rails/app/assets/javascripts directory, even this assets/javascript directories I’ve created manually.
Root is the owner of directories, it looks as this is default.
Also, root is the owner of /opt/gitlab/embedded/service/gitlab-rails/public directoy, this is the same on different instances.

Anyway, if there is some other option to rebuild broken css, please, let me know.

I’ve found on troubleshoot page here that on error additional command might be executed, here is my result:

$ sudo NO_PRIVILEGE_DROP=true USE_DB=false gitlab-rake gitlab:assets:clean gitlab:assets:compile
 node ./scripts/frontend/postinstall.js
success Dependency postinstall check passed.
Done in 7.07s.
rake aborted!
ExecJS::Error: ExecJS disabled
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/task_helpers.rb:18:in `invoke_and_time_task'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/assets.rake:58:in `each'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/assets.rake:58:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)

Seems that node did its job this time, but rake aborted again.
Actually, manual states that this is not necessary for omnibus instances as during installation and upgrade, package is being rebuilt.
In my case, there are some issues with wrong named css files etc. That’s why I’m trying to do this rebuild, maybe I’m on the wrong track.