currently i trie to build foreman 2.0.0 on sles12sp5 from source, but it fails.
To build foreman from source i’ve installed ruby2.5 and npm10 and all the other required packages as it’s described in Foreman :: Manual.
Afterwards i cloned the source code from git / with the command “git clone https://github.com/theforeman/foreman.git -b 2.0-stable” and run the other commands (cp config …, gem install bundler, bundle install --without mysql2 test --path vendor,…)
All commands could be executed without problems. Only the last command “RAILS_ENV=production bundle exec rake db:seed assets:precompile locale:pack webpack:compile” returned the following:
As the error type was only a warning, I first ignored it. But after starting the apache, which is configured to start foreman through passenger (6.0.4), it only shows a blank / white page in chrome / firefox.
Starting the debugging console, i got three times the following error:
I18n.js:18 Uncaught (in promise) Error: Cannot find module "." at I18n.js:18 at I18n.js:18
Distribution and version:
SLES12 SP5 with ruby2.5 and nodejs10/npm10 from build.opensuse.org - same problem occurs with nodejs12/npm12
Do you have any idea what’s wrong here? If you also need further data, please let me know.