Bug #20636

Can't run rake webpack:compile in latest katello dev env

Added by John Mitsch 11 months ago. Updated 9 days ago.

Status:Closed
Priority:Normal
Assignee:Ohad Levy
Category:-
Target version:1.16.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/4751

Description

Its failing with

/home/vagrant/foreman/node_modules/.bin/webpack --config /home/vagrant/foreman/config/webpack.config.js --bail
Hash: 67f777dea468d37a1896
Version: webpack 3.5.5
Time: 508ms
4 assets
[0] ./webpack/assets/javascripts/bundle.js 2.43 kB {0} [built] [failed] [1 error]

ERROR in ./webpack/assets/javascripts/bundle.js
Module build failed: Error: Plugin 20 specified in "/home/vagrant/foreman/node_modules/babel-preset-es2015/index.js" provided an invalid property of "name"
at Plugin.init (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/plugin.js:115:13)
at Function.normalisePlugin (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/options/option-manager.js:149:12)
at /home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/options/option-manager.js:183:30
at Array.map (native)
at Function.normalisePlugins (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/options/option-manager.js:155:20)
at OptionManager.mergeOptions (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/options/option-manager.js:277:36)
at /home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/options/option-manager.js:349:14
at /home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/options/option-manager.js:369:24
at Array.map (native)
at OptionManager.resolvePresets (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/options/option-manager.js:364:20)
at OptionManager.mergePresets (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/options/option-manager.js:348:10)
at OptionManager.mergeOptions (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/options/option-manager.js:307:14)
at OptionManager.addConfig (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/options/option-manager.js:207:10)
at OptionManager.findConfigs (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/options/option-manager.js:413:16)
at OptionManager.init (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/options/option-manager.js:461:12)
at File.initOptions (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/index.js:194:75)
at new File (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/file/index.js:123:22)
at Pipeline.transform (/home/vagrant/foreman/node_modules/babel-core/lib/transformation/pipeline.js:45:16)
at transpile (/home/vagrant/foreman/node_modules/babel-loader/lib/index.js:49:20)
at Object.module.exports (/home/vagrant/foreman/node_modules/babel-loader/lib/index.js:174:20)

Associated revisions

Revision 0c2650cc
Added by Ohad Levy 11 months ago

fixes #20636 - update babel-core and loader to newer versions

History

#1 Updated by The Foreman Bot 11 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ohad Levy
  • Pull request https://github.com/theforeman/foreman/pull/4751 added

#2 Updated by The Foreman Bot 11 months ago

  • Pull request https://github.com/theforeman/foreman/pull/4752 added

#3 Updated by Ohad Levy 11 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Tomer Brisker 11 months ago

  • Legacy Backlogs Release (now unused) set to 240
  • Pull request deleted (https://github.com/theforeman/foreman/pull/4752)

Also available in: Atom PDF