I am trying to install gitlab (10.4.2) from source on a server (running Slackware Linux) that is on an isolated network. I have gotten to the step where the assets are being compiled [sudo -u git -H bundle exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production
]. When it gets to the section where it calls the .../.bin/webpack --config .../webpack-config.js
command, it appears to build the first several .js files and then returns a Syntax Error when compiling the ./render_mermaid.js
file; stating that it does not recognize import and export statements. This is followed by several more files with similar Syntax Errors and ultimately leads to the rake command failing.
I apologize that I do not have exact error messages to copy and paste since the server is on a network where I cannot copy the exact error messages; however, I am assuming the javascript files have been thoroughly tested and do not, in fact, have syntax errors, but rather I have an older version of 'something" (java jdk, rake, webpack, babel, etc…) that does not recognize the syntax being used in these files. Unfortunately, I do not know what that “something” may be. Any help would be appreciated. Thanks.
Walter