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

analytics-client-js:npmRunBuild failure in modules-compile

Details

    Description

           [exec] Module not found: Error: Can't resolve 'frontend-js-web' in '/opt/dev/projects/github/liferay-portal/modules/apps/analytics/analytics-client-js/src/plugins'
           [exec]  @ ./src/plugins/blogs.js 18:0-43 63:17-25
           [exec]  @ ./src/plugins/defaults.js
           [exec]  @ ./src/analytics.js
           [exec]  @ multi core-js/fn/array/from core-js/fn/array/find core-js/es6/symbol core-js/fn/promise whatwg-fetch ./src/analytics.js
           [exec] 
           [exec] ERROR in ./src/plugins/custom.js
           [exec] Module not found: Error: Can't resolve 'frontend-js-web' in '/opt/dev/projects/github/liferay-portal/modules/apps/analytics/analytics-client-js/src/plugins'
           [exec]  @ ./src/plugins/custom.js 18:0-43 82:17-25
           [exec]  @ ./src/plugins/defaults.js
           [exec]  @ ./src/analytics.js
           [exec]  @ multi core-js/fn/array/from core-js/fn/array/find core-js/es6/symbol core-js/fn/promise whatwg-fetch ./src/analytics.js
           [exec] 
           [exec] ERROR in ./src/plugins/scrolling.js
           [exec] Module not found: Error: Can't resolve 'frontend-js-web' in '/opt/dev/projects/github/liferay-portal/modules/apps/analytics/analytics-client-js/src/plugins'
           [exec]  @ ./src/plugins/scrolling.js 14:0-43 25:17-25
           [exec]  @ ./src/plugins/defaults.js
           [exec]  @ ./src/analytics.js
           [exec]  @ multi core-js/fn/array/from core-js/fn/array/find core-js/es6/symbol core-js/fn/promise whatwg-fetch ./src/analytics.js
           [exec] Command /opt/dev/projects/github/liferay-portal/modules/node_modules/liferay-npm-scripts/node_modules/.bin/webpack exited with code 2
           [exec] error Command failed with exit code 1.
      

      Attachments

        Issue Links

          Activity

            People

              timothy.pak Timothy Pak
              timothy.pak Timothy Pak
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 11 weeks, 1 day ago

                Packages

                  Version Package
                  7.2.10 DXP FP2
                  7.2.10.1 DXP SP1
                  7.3.10 DXP GA1
                  Master