Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-92563

Error in webpack-cli package when building analytics-client-js module

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: Analytics Js Client
    • Labels:
      None

      Description

      I noticed that the problem is the current version of the node in the Liferay Portal that is not compatible with the current version of webpack-cli in the analytics-client-js module.

      /Users/interaminense/workspace/liferay-portal/modules/apps/analytics/analytics-client-js/node_modules/webpack-cli/bin/config-yargs.js:89
      describe: optionsSchema.definitions.output.properties.path.description,
      ^
      
      TypeError: Cannot read property 'properties' of undefined
      at module.exports (/Users/interaminense/workspace/liferay-portal/modules/apps/analytics/analytics-client-js/node_modules/webpack-cli/bin/config-yargs.js:89:48)
      at /Users/interaminense/workspace/liferay-portal/modules/apps/analytics/analytics-client-js/node_modules/webpack-cli/bin/webpack.js:60:27
      at Object.<anonymous> (/Users/interaminense/workspace/liferay-portal/modules/apps/analytics/analytics-client-js/node_modules/webpack-cli/bin/webpack.js:515:3)
      at Module._compile (internal/modules/cjs/loader.js:689:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
      at Module.load (internal/modules/cjs/loader.js:599:32)
      at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
      at Function.Module._load (internal/modules/cjs/loader.js:530:3)
      at Module.require (internal/modules/cjs/loader.js:637:17)
      at require (internal/modules/cjs/helpers.js:22:18)
      

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            adriano.interaminense Adriano Interaminense
            Participants of an Issue:
            Recent user:
            Michael Saechang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 36 weeks, 3 days ago

                Packages

                Version Package
                Master