[vagrant@centos8-katello-devel-stable foreman]$ bundle exec rails webpack:compile [fog][DEPRECATION] Unable to load Fog::Google::Compute [fog][DEPRECATION] Falling back to deprecated constant Fog::Compute::Google. The preferred format of service provider constants has changed from service::provider to provider::service. Please update this service provider to use the preferred format. [fog][DEPRECATION] Unable to load Fog::Google::DNS [fog][DEPRECATION] Falling back to deprecated constant Fog::DNS::Google. The preferred format of service provider constants has changed from service::provider to provider::service. Please update this service provider to use the preferred format. [fog][DEPRECATION] Unable to load Fog::Google::Storage [fog][DEPRECATION] Falling back to deprecated constant Fog::Storage::Google. The preferred format of service provider constants has changed from service::provider to provider::service. Please update this service provider to use the preferred format. 2022-09-07T10:45:55 [I|app|] Rails cache backend: File 2022-09-07T10:45:56 [W|app|] You are trying to replace import_subnets from . Adding allowed actions from plugin permissions to the existing one. 2022-09-07T10:45:56 [W|app|] DEPRECATION WARNING: You are using a deprecated behavior, it will be removed in version 3.3, initial value of setting 'instance_id' should be created in a migration (called from block in load_definitions at /home/vagrant/foreman/app/services/setting_registry.rb:131) 2022-09-07T10:45:56 [D|app|] Slow initializers: 2022-09-07T10:45:56 [D|app|] 118.04 ./config/initializers/foreman_register.rb 2022-09-07T10:45:56 [D|app|] Registering 4 assets for plugin foreman-tasks precompilation 2022-09-07T10:45:56 [W|app|] DEPRECATION WARNING: Initialization autoloaded the constants Net::Validations, SettingRegistry, HiddenValue, SettingPresenter, Foreman::Deprecation, SettingSelectCollection, MediumProviders, MediumProviders::Provider, MediumProviders::Default, Foreman::TelemetryHelper, Actions, and Actions::ObservableAction. | | Being able to do this is deprecated. Autoloading during initialization is going | to be an error condition in future versions of Rails. | | Reloading does not reboot the application, and therefore code executed during | initialization does not run again. So, if you reload Net::Validations, for example, | the expected changes won't be reflected in that stale Module object. | | `config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`. | | In order to autoload safely at boot time, please wrap your code in a reloader | callback this way: | | Rails.application.reloader.to_prepare do | # Autoload classes and modules needed at boot time here. | end | | That block runs when the application boots, and every time there is a reload. | For historical reasons, it may run twice, so it has to be idempotent. | | Check the "Autoloading and Reloading Constants" guide to learn more about how | Rails autoloads and reloads. | (called from block in run at /home/vagrant/foreman/config/initializers/0_print_time_spent.rb:45) 2022-09-07T10:45:56 [W|app|] Setting host_tasks_workers_pool_size has no definition, please define it before using 2022-09-07T10:45:56 [W|app|] Setting remote_execution_workers_pool_size has no definition, please define it before using 2022-09-07T10:45:56 [D|app|] Registering 6 assets for plugin foreman_remote_execution precompilation 2022-09-07T10:45:57 [W|app|] Creating scope :exportable. Overwriting existing method Katello::Repository.exportable. 2022-09-07T10:45:57 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope. 2022-09-07T10:45:58 [D|app|] Registering 97 assets for plugin katello precompilation 2022-09-07T10:45:58 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope. 2022-09-07T10:45:58 [W|app|] Creating scope :execution_scope. Overwriting existing method Host::Managed.execution_scope. 2022-09-07T10:45:58 [W|app|] DEPRECATION WARNING: You are using a deprecated behavior, it will be removed in version 3.3, initial value of setting 'instance_id' should be created in a migration (called from block in load_definitions at /home/vagrant/foreman/app/services/setting_registry.rb:131) 2022-09-07T10:45:59 [W|app|] Scoped order is ignored, it's forced to be batch order. 2022-09-07T10:45:59 [W|app|] Scoped order is ignored, it's forced to be batch order. 2022-09-07T10:46:00 [W|app|] Scoped order is ignored, it's forced to be batch order. node --max_old_space_size=2048 /home/vagrant/foreman/node_modules/.bin/webpack --config /home/vagrant/foreman/config/webpack.config.js --bail ModuleNotFoundError: Module not found: Error: Can't resolve 'ngreact' in '/home/vagrant/katello/webpack' at factoryCallback (/home/vagrant/foreman/node_modules/webpack/lib/Compilation.js:282:40) at /home/vagrant/foreman/node_modules/webpack/lib/NormalModuleFactory.js:237:20 at /home/vagrant/foreman/node_modules/webpack/lib/NormalModuleFactory.js:60:20 at /home/vagrant/foreman/node_modules/webpack/lib/NormalModuleFactory.js:127:20 at /home/vagrant/foreman/node_modules/async/dist/async.js:3891:9 at /home/vagrant/foreman/node_modules/async/dist/async.js:473:16 at iteratorCallback (/home/vagrant/foreman/node_modules/async/dist/async.js:1065:13) at /home/vagrant/foreman/node_modules/async/dist/async.js:972:16 at /home/vagrant/foreman/node_modules/async/dist/async.js:3888:13 at /home/vagrant/foreman/node_modules/webpack/lib/NormalModuleFactory.js:119:22 at onError (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:65:10) at loggingCallbackWrapper (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19) at runAfter (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:158:4) at innerCallback (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:146:3) at loggingCallbackWrapper (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19) at next (/home/vagrant/foreman/node_modules/webpack/node_modules/tapable/lib/Tapable.js:252:11) at /home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:40:4 at loggingCallbackWrapper (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19) at runAfter (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:158:4) at innerCallback (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:146:3) at loggingCallbackWrapper (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19) at next (/home/vagrant/foreman/node_modules/webpack/node_modules/tapable/lib/Tapable.js:252:11) at innerCallback (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:144:11) at loggingCallbackWrapper (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19) at next (/home/vagrant/foreman/node_modules/webpack/node_modules/tapable/lib/Tapable.js:249:35) at /home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:44:6 at loggingCallbackWrapper (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19) at afterInnerCallback (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:166:11) at loggingCallbackWrapper (/home/vagrant/foreman/node_modules/webpack/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19) at next (/home/vagrant/foreman/node_modules/webpack/node_modules/tapable/lib/Tapable.js:249:35) resolve 'ngreact' in '/home/vagrant/katello/webpack' Parsed request is a module using description file: /home/vagrant/katello/package.json (relative path: ./webpack) Field 'browser' doesn't contain a valid alias configuration after using description file: /home/vagrant/katello/package.json (relative path: ./webpack) resolve as module looking for modules in /home/vagrant/foreman/webpack using description file: /home/vagrant/foreman/package.json (relative path: ./webpack) Field 'browser' doesn't contain a valid alias configuration after using description file: /home/vagrant/foreman/package.json (relative path: ./webpack) using description file: /home/vagrant/foreman/package.json (relative path: ./webpack/ngreact) no extension Field 'browser' doesn't contain a valid alias configuration /home/vagrant/foreman/webpack/ngreact doesn't exist .js Field 'browser' doesn't contain a valid alias configuration /home/vagrant/foreman/webpack/ngreact.js doesn't exist .json Field 'browser' doesn't contain a valid alias configuration /home/vagrant/foreman/webpack/ngreact.json doesn't exist as directory /home/vagrant/foreman/webpack/ngreact doesn't exist looking for modules in /home/vagrant/foreman/node_modules using description file: /home/vagrant/foreman/package.json (relative path: ./node_modules) Field 'browser' doesn't contain a valid alias configuration after using description file: /home/vagrant/foreman/package.json (relative path: ./node_modules) using description file: /home/vagrant/foreman/package.json (relative path: ./node_modules/ngreact) no extension Field 'browser' doesn't contain a valid alias configuration /home/vagrant/foreman/node_modules/ngreact doesn't exist .js Field 'browser' doesn't contain a valid alias configuration /home/vagrant/foreman/node_modules/ngreact.js doesn't exist .json Field 'browser' doesn't contain a valid alias configuration /home/vagrant/foreman/node_modules/ngreact.json doesn't exist as directory /home/vagrant/foreman/node_modules/ngreact doesn't exist /home/vagrant/katello/webpack/node_modules/ doesn't exist or is not a directory /home/vagrant/katello/node_modules/ doesn't exist or is not a directory /home/vagrant/node_modules/ doesn't exist or is not a directory /home/node_modules/ doesn't exist or is not a directory /node_modules/ doesn't exist or is not a directory rails aborted! Command failed with status (1): [node --max_old_space_size=2048 /home/vagra...] /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/file_utils.rb:67:in `block in create_shell_runner' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/file_utils.rb:57:in `sh' /home/vagrant/foreman/lib/tasks/webpack_compile.rake:26:in `block (2 levels) in
' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `each' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `each' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/commands/rake/rake_command.rb:24:in `block (2 levels) in perform' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/commands/rake/rake_command.rb:24:in `block in perform' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/rake_module.rb:59:in `with_application' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/commands/rake/rake_command.rb:18:in `perform' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/command.rb:50:in `invoke' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/commands.rb:18:in `
' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `block in require' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in `load_dependency' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `require' /home/vagrant/foreman/bin/rails:9:in `' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `load' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `call' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/spring-2.1.1/lib/spring/client/command.rb:7:in `call' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/spring-2.1.1/lib/spring/client.rb:30:in `run' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/spring-2.1.1/bin/spring:49:in `' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `load' /home/vagrant/foreman/.vendor/ruby/2.7.0/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `' /home/vagrant/foreman/bin/spring:13:in `require' /home/vagrant/foreman/bin/spring:13:in `' Tasks: TOP => webpack:compile (See full trace by running task with --trace)