Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-2834

Deploy is failing due webpack issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • 2.6 ER1
    • System
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      After upgrading preview environment node version to 8.16, the deploy is failing. The reason is the compilation of webpack assets:

      ```
      ModuleNotFoundError: Module not found: Error: Can't resolve 'style-loader' in '/system_preview/releases/20190617064738
      '
      at factory.create (/system_preview/shared/node_modules/webpack/lib/Compilation.js:821:10)
      at factory (/system_preview/shared/node_modules/webpack/lib/NormalModuleFactory.js:397:22)
      at resolver (/system_preview/shared/node_modules/webpack/lib/NormalModuleFactory.js:130:21)
      at asyncLib.parallel (/system_preview/shared/node_modules/webpack/lib/NormalModuleFactory.js:337:24)
      at /system_preview/shared/node_modules/webpack/node_modules/neo-async/async.js:2830:7
      at /system_preview/shared/node_modules/webpack/node_modules/neo-async/async.js:6877:13
      at /system_preview/shared/node_modules/webpack/node_modules/neo-async/async.js:2830:7
      at done (/system_preview/shared/node_modules/webpack/node_modules/neo-async/async.js:2925:13)
      at resolver.resolve (/system_preview/shared/node_modules/webpack/lib/NormalModuleFactory.js:445:23)
      at doResolve (/system_preview/shared/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:184:12)
      at hook.callAsync (/system_preview/shared/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:238:5
      )
      at _fn0 (eval at create (/system_preview/shared/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:3
      3:10), <anonymous>:15:1)
      at resolver.doResolve (/system_preview/shared/node_modules/webpack/node_modules/enhanced-resolve/lib/UnsafeCachePl
      ugin.js:37:5)
      at hook.callAsync (/system_preview/shared/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:238:5
      )
      at _fn0 (eval at create (/system_preview/shared/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:3
      3:10), <anonymous>:15:1)
      at hook.callAsync (/system_preview/shared/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:238:5
      )
      at _fn0 (eval at create (/system_preview/shared/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:3
      3:10), <anonymous>:27:1)
      at resolver.doResolve (/system_preview/shared/node_modules/webpack/node_modules/enhanced-resolve/lib/DescriptionFi
      lePlugin.js:42:38)
      at hook.callAsync (/system_preview/shared/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:238:5
      )
      at _fn0 (eval at create (/system_preview/shared/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:3
      3:10), <anonymous>:27:1)
      at resolver.doResolve (/system_preview/shared/node_modules/webpack/node_modules/enhanced-resolve/lib/ModuleKindPlu
      gin.js:23:37)
      ```

              Unassigned Unassigned
              dcesare Didier Di Cesare (Inactive)
              Didier Di Cesare Didier Di Cesare (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: