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.