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

Upgrade Nuxeo CLI to support Node >= 14

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Nuxeo CLI
    • Tags:
    • Backlog priority:
      701
    • Upgrade notes:
      Hide

      I did not read the doc correctly. It clearly states "use node latest LTS,", which, as of today, is v12. Sorry for the noise

      Show
      I did not read the doc correctly. It clearly states "use node latest LTS,", which, as of today, is v12. Sorry for the noise

      Description

      Nuxeo CLI fails to bootstrap code when using Node version 14

      . . .
      /usr/local/lib/node_modules/nuxeo-cli/node_modules/bindings/bindings.js:135
        throw err;
        ^
      
      Error: Could not locate the bindings file. Tried:
       → /usr/local/lib/node_modules/nuxeo-cli/node_modules/deasync/build/deasync.node
       → /usr/local/lib/node_modules/nuxeo-cli/node_modules/deasync/build/Debug/deasync.node
       → /usr/local/lib/node_modules/nuxeo-cli/node_modules/deasync/build/Release/deasync.node
       → /usr/local/lib/node_modules/nuxeo-cli/node_modules/deasync/out/Debug/deasync.node
      . . .
      

      Switching to node 13 fixes the issue.

      NOTE: I am also updating the doc to be clear on this limitation. Once fixed, the doc should be updated too

        Attachments

          Activity

            People

            • Assignee:
              targuillere Thibaud Arguillere
              Reporter:
              targuillere Thibaud Arguillere
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: