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

Fixing generator working offline

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CODEGEN-2.4.0
    • Fix Version/s: CODEGEN-1.5
    • Component/s: Nuxeo CLI

      Description

      When running nuxeo bootstrap in offline mode; got this error:

      % nuxeo bootstrap 
      ✖ Unable to fetch current Nuxeo Versions; fallback on LTS only mode.
      /usr/local/lib/node_modules/generator-nuxeo/utils/nuxeo-version-available.js:39
      let [, major, minor] = lastVersion.match(/^(\d+)\.(\d+)\s+/);
                                        ^
      
      TypeError: Cannot read property 'match' of undefined
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: