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

Module frontend-js-spa-web shows errors on build

    Details

      Description

      The frontend-js-spa-web module shows some errors during the build process

           [exec] Module with name "metal/src/async/async" could not be found by node." Error: Cannot find module 'metal/src/async/async' from '/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/classes/META-INF/resources'
           [exec]     at Function.module.exports [as sync] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/resolve/lib/sync.js:33:11)
           [exec]     at module.exports (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/lib/resolve.js:9:20)
           [exec]     at getModulePath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:30:12)
           [exec]     at getFullPath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:25:10)
           [exec]     at Object.renameAlias [as resolveModuleSource] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:41:20)
           [exec]     at renameWithoutJsExt (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:87:33)
           [exec]     at resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:47:60)
           [exec]     at File.resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/index.js:333:39)
           [exec]     at File.enter (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/metadata.js:26:32)
           [exec]     at NodePath._call (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-traverse/lib/path/context.js:76:18)
           [exec] Module with name "senna/src/globals/globals" could not be found by node." Error: Cannot find module 'senna/src/globals/globals' from '/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/classes/META-INF/resources'
           [exec]     at Function.module.exports [as sync] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/resolve/lib/sync.js:33:11)
           [exec]     at module.exports (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/lib/resolve.js:9:20)
           [exec]     at getModulePath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:30:12)
           [exec]     at getFullPath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:25:10)
           [exec]     at Object.renameAlias [as resolveModuleSource] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:41:20)
           [exec]     at renameWithoutJsExt (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:87:33)
           [exec]     at resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:47:60)
           [exec]     at File.resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/index.js:333:39)
           [exec]     at File.enter (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/metadata.js:26:32)
           [exec]     at NodePath._call (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-traverse/lib/path/context.js:76:18)
           [exec] Module with name "metal-uri/src/Uri" could not be found by node." Error: Cannot find module 'metal-uri/src/Uri' from '/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/classes/META-INF/resources'
           [exec]     at Function.module.exports [as sync] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/resolve/lib/sync.js:33:11)
           [exec]     at module.exports (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/lib/resolve.js:9:20)
           [exec]     at getModulePath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:30:12)
           [exec]     at getFullPath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:25:10)
           [exec]     at Object.renameAlias [as resolveModuleSource] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:41:20)
           [exec]     at renameWithoutJsExt (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:87:33)
           [exec]     at resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:47:60)
           [exec]     at File.resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/index.js:333:39)
           [exec]     at File.enter (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/metadata.js:26:32)
           [exec]     at NodePath._call (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-traverse/lib/path/context.js:76:18)
           [exec] Module with name "senna/src/utils/utils" could not be found by node." Error: Cannot find module 'senna/src/utils/utils' from '/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/classes/META-INF/resources'
           [exec]     at Function.module.exports [as sync] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/resolve/lib/sync.js:33:11)
           [exec]     at module.exports (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/lib/resolve.js:9:20)
           [exec]     at getModulePath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:30:12)
           [exec]     at getFullPath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:25:10)
           [exec]     at Object.renameAlias [as resolveModuleSource] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:41:20)
           [exec]     at renameWithoutJsExt (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:87:33)
           [exec]     at resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:47:60)
           [exec]     at File.resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/index.js:333:39)
           [exec]     at File.enter (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/metadata.js:26:32)
           [exec]     at NodePath._call (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-traverse/lib/path/context.js:76:18)
           [exec] Module with name "senna/src/app/App" could not be found by node." Error: Cannot find module 'senna/src/app/App' from '/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/classes/META-INF/resources'
           [exec]     at Function.module.exports [as sync] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/resolve/lib/sync.js:33:11)
           [exec]     at module.exports (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/lib/resolve.js:9:20)
           [exec]     at getModulePath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:30:12)
           [exec]     at getFullPath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:25:10)
           [exec]     at Object.renameAlias [as resolveModuleSource] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:41:20)
           [exec]     at renameWithoutJsExt (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:87:33)
           [exec]     at resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:47:60)
           [exec]     at File.resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/index.js:333:39)
           [exec]     at File.enter (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/metadata.js:26:32)
           [exec]     at NodePath._call (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-traverse/lib/path/context.js:76:18)
           [exec] Module with name "metal/src/core" could not be found by node." Error: Cannot find module 'metal/src/core' from '/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/classes/META-INF/resources'
           [exec]     at Function.module.exports [as sync] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/resolve/lib/sync.js:33:11)
           [exec]     at module.exports (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/lib/resolve.js:9:20)
           [exec]     at getModulePath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:30:12)
           [exec]     at getFullPath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:25:10)
           [exec]     at Object.renameAlias [as resolveModuleSource] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:41:20)
           [exec]     at renameWithoutJsExt (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:87:33)
           [exec]     at resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:47:60)
           [exec]     at File.resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/index.js:333:39)
           [exec]     at File.enter (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/metadata.js:26:32)
           [exec]     at NodePath._call (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-traverse/lib/path/context.js:76:18)
           [exec] Module with name "metal-dom/src/dom" could not be found by node." Error: Cannot find module 'metal-dom/src/dom' from '/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/classes/META-INF/resources'
           [exec]     at Function.module.exports [as sync] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/resolve/lib/sync.js:33:11)
           [exec]     at module.exports (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/lib/resolve.js:9:20)
           [exec]     at getModulePath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:30:12)
           [exec]     at getFullPath (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:25:10)
           [exec]     at Object.renameAlias [as resolveModuleSource] (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-preset-metal/index.js:41:20)
           [exec]     at renameWithoutJsExt (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:87:33)
           [exec]     at resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/metal-tools-build-amd/lib/pipelines/buildAmd.js:47:60)
           [exec]     at File.resolveModuleSource (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/index.js:333:39)
           [exec]     at File.enter (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-core/lib/transformation/file/metadata.js:26:32)
           [exec]     at NodePath._call (/Users/jose.balsas/dev/liferay/portal/master/portal/modules/apps/foundation/frontend-js/frontend-js-spa-web/node_modules/metal-cli/node_modules/babel-traverse/lib/path/context.js:76:18)
      

        Attachments

          Activity

            People

            Assignee:
            felix.zhang Felix Zhang
            Reporter:
            jose.balsas Chema Balsas
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 4 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP6
                7.0.3 CE GA4
                7.1.X
                Master