Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3084

Fix nuxeo project command in Nuxeo CLI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Nuxeo CLI

      Description

      install nuxeo CLI

      Nuxeo CLI             : 1.9.0
      Modules
       - generator-nuxeo    : 2.9.0 
       - yeoman-environment : 2.6.0 
      

      bootstrap a project in an empty folder using nuxeo b
      in this folder, call the nuxeo project command

      events.js:174
            throw er; // Unhandled 'error' event
            ^
      
      TypeError: this.getRootPom is not a function
          at constructor.welcome (/home/bert/.npm-global/lib/node_modules/nuxeo-cli/node_modules/generator-nuxeo/generators/project/status-delegate.js:12:26)
          at delegate (/home/bert/.npm-global/lib/node_modules/nuxeo-cli/node_modules/generator-nuxeo/lib/delegated-generator.js:92:31)
          at constructor.initializing (/home/bert/.npm-global/lib/node_modules/nuxeo-cli/node_modules/generator-nuxeo/lib/delegated-generator.js:61:7)
          at Object.<anonymous> (/home/bert/.npm-global/lib/node_modules/nuxeo-cli/node_modules/yeoman-generator/lib/index.js:417:23)
          at /home/bert/.npm-global/lib/node_modules/nuxeo-cli/node_modules/run-async/index.js:25:25
          at new Promise (<anonymous>)
          at /home/bert/.npm-global/lib/node_modules/nuxeo-cli/node_modules/run-async/index.js:24:19
          at /home/bert/.npm-global/lib/node_modules/nuxeo-cli/node_modules/yeoman-generator/lib/index.js:418:9
          at runCallback (timers.js:705:18)
          at tryOnImmediate (timers.js:676:5)
      Emitted 'error' event at:
          at Immediate.<anonymous> (/home/bert/.npm-global/lib/node_modules/nuxeo-cli/node_modules/yeoman-generator/lib/index.js:424:16)
          at runCallback (timers.js:705:18)
          at tryOnImmediate (timers.js:676:5)
          at processImmediate (timers.js:658:5)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 minutes
                5m