Project

General

Profile

Actions

Bug #24657

closed

Webpack fails to build on develop

Added by Tomer Brisker over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Category:
JavaScript stack
Target version:
-

Description

This currently blocks develop testing. Full stacktrace:

/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/.bin/webpack --config /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/config/webpack.config.js --bail
pkg/foreman-1.20.0-develop.tar.bz2
The Apipie cache is turned off. Enable it and run apipie:cache rake task to speed up API calls.

ModuleNotFoundError: Module not found: Error: Can't resolve '@babel/runtime/helpers/es6/inheritsLoose' in '/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/es'
    at factoryCallback (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/webpack/lib/Compilation.js:282:40)
    at factory (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/webpack/lib/NormalModuleFactory.js:237:20)
    at resolver (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/webpack/lib/NormalModuleFactory.js:60:20)
    at asyncLib.parallel.e (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/webpack/lib/NormalModuleFactory.js:127:20)
    at /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/async/dist/async.js:3888:9
    at /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/async/dist/async.js:473:16
    at iteratorCallback (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/async/dist/async.js:1062:13)
    at /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/async/dist/async.js:969:16
    at /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/async/dist/async.js:3885:13
    at resolvers.normal.resolve (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/webpack/lib/NormalModuleFactory.js:119:22)
    at onError (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/Resolver.js:65:10)
    at loggingCallbackWrapper (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at runAfter (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/Resolver.js:158:4)
    at innerCallback (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/Resolver.js:146:3)
    at loggingCallbackWrapper (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at next (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/tapable/lib/Tapable.js:252:11)
    at /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:40:4
    at loggingCallbackWrapper (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at runAfter (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/Resolver.js:158:4)
    at innerCallback (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/Resolver.js:146:3)
    at loggingCallbackWrapper (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at next (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/tapable/lib/Tapable.js:252:11)
    at innerCallback (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/Resolver.js:144:11)
    at loggingCallbackWrapper (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at next (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/tapable/lib/Tapable.js:249:35)
    at resolver.doResolve.createInnerCallback (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:44:6)
    at loggingCallbackWrapper (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at afterInnerCallback (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/Resolver.js:166:11)
    at loggingCallbackWrapper (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at next (/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/tapable/lib/Tapable.js:249:35)
resolve '@babel/runtime/helpers/es6/inheritsLoose' in '/var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/es'
  Parsed request is a module
  using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/package.json (relative path: ./es)
    Field 'browser' doesn't contain a valid alias configuration
  after using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/package.json (relative path: ./es)
    resolve as module
      looking for modules in /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/webpack
        using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/package.json (relative path: ./webpack)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/package.json (relative path: ./webpack)
          using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/package.json (relative path: ./webpack/@babel/runtime/helpers/es6/inheritsLoose)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/webpack/@babel/runtime/helpers/es6/inheritsLoose doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/webpack/@babel/runtime/helpers/es6/inheritsLoose.js doesn't exist
            .json
              Field 'browser' doesn't contain a valid alias configuration
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/webpack/@babel/runtime/helpers/es6/inheritsLoose.json doesn't exist
            as directory
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/webpack/@babel/runtime/helpers/es6/inheritsLoose doesn't exist
      looking for modules in /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules
        using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/package.json (relative path: ./node_modules)
          using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/@babel/runtime/package.json (relative path: ./helpers/es6/inheritsLoose)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/@babel/runtime/helpers/es6/inheritsLoose doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/@babel/runtime/helpers/es6/inheritsLoose.js doesn't exist
            .json
              Field 'browser' doesn't contain a valid alias configuration
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/@babel/runtime/helpers/es6/inheritsLoose.json doesn't exist
            as directory
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/@babel/runtime/helpers/es6/inheritsLoose doesn't exist
      /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/es/node_modules/ doesn't exist or is not a directory
      /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/node_modules/ doesn't exist or is not a directory
      /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/node_modules/ doesn't exist or is not a directory
      /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/node_modules/ doesn't exist or is not a directory
      /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/node_modules/ doesn't exist or is not a directory
      /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/node_modules/ doesn't exist or is not a directory
      /var/lib/workspace/workspace/test_develop_pr_core/database/node_modules/ doesn't exist or is not a directory
      /var/lib/workspace/workspace/test_develop_pr_core/node_modules/ doesn't exist or is not a directory
      /var/lib/workspace/workspace/node_modules/ doesn't exist or is not a directory
      /var/lib/workspace/node_modules/ doesn't exist or is not a directory
      /var/lib/node_modules/ doesn't exist or is not a directory
      /var/node_modules/ doesn't exist or is not a directory
      /node_modules/ doesn't exist or is not a directory
      looking for modules in /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/
        using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/package.json (relative path: ./node_modules/)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/package.json (relative path: ./node_modules/)
          using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/@babel/runtime/package.json (relative path: ./helpers/es6/inheritsLoose)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/@babel/runtime/helpers/es6/inheritsLoose doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/@babel/runtime/helpers/es6/inheritsLoose.js doesn't exist
            .json
              Field 'browser' doesn't contain a valid alias configuration
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/@babel/runtime/helpers/es6/inheritsLoose.json doesn't exist
            as directory
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/@babel/runtime/helpers/es6/inheritsLoose doesn't exist
      looking for modules in /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/node_modules/
        using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/package.json (relative path: ./node_modules/)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/package.json (relative path: ./node_modules/)
          using description file: /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/package.json (relative path: ./node_modules/@babel/runtime/helpers/es6/inheritsLoose)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/node_modules/@babel/runtime/helpers/es6/inheritsLoose doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/node_modules/@babel/runtime/helpers/es6/inheritsLoose.js doesn't exist
            .json
              Field 'browser' doesn't contain a valid alias configuration
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/node_modules/@babel/runtime/helpers/es6/inheritsLoose.json doesn't exist
            as directory
              /var/lib/workspace/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/node_modules/react-bootstrap/node_modules/@babel/runtime/helpers/es6/inheritsLoose doesn't exist

Actions #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman/pull/5969 added
Actions #2

Updated by Ondřej Pražák over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by The Foreman Bot over 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/5970 added
Actions #4

Updated by The Foreman Bot over 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/5971 added
Actions #5

Updated by The Foreman Bot over 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/5972 added
Actions #6

Updated by Tomer Brisker over 5 years ago

  • Fixed in Releases 1.18.2, 1.19.0 added
Actions

Also available in: Atom PDF