cancel
Showing results for 
Search instead for 
Did you mean: 

nuxeo-cli execution error

anandhan
Star Contributor
Star Contributor

Hi,

I have trial account in nuxeo connect, tried to install nuxeo-cli. after installation it shows 25 packages are looking for funding. on running nuxeo command i'm getting the error cannot find the module 'pad-left'.

Please guide to resolve the issue.

nandhan@anandhan-VirtualBox:~$ sudo npm install -g nuxeo-cli
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

removed 1519 packages, changed 507 packages, and audited 508 packages in 31s

25 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
anandhan@anandhan-VirtualBox:~$ nuxeo
node:internal/modules/cjs/loader:927
  throw err;
  ^

Error: Cannot find module 'pad-left'
Require stack:
- /usr/lib/node_modules/nuxeo-cli/node_modules/generator-nuxeo/lib/welcome.js
- /usr/lib/node_modules/nuxeo-cli/lib/cli.js
- /usr/lib/node_modules/nuxeo-cli/bin/nuxeo-cli.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15)
    at Function.Module._load (node:internal/modules/cjs/loader:769:27)
    at Module.require (node:internal/modules/cjs/loader:996:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/usr/lib/node_modules/nuxeo-cli/node_modules/generator-nuxeo/lib/welcome.js:2:13)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Module.load (node:internal/modules/cjs/loader:972:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:996:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/lib/node_modules/nuxeo-cli/node_modules/generator-nuxeo/lib/welcome.js',
    '/usr/lib/node_modules/nuxeo-cli/lib/cli.js',
    '/usr/lib/node_modules/nuxeo-cli/bin/nuxeo-cli.js'
}
4 REPLIES 4

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Have you check your node version? It should be the latest LTS

anandhan
Star Contributor
Star Contributor

Node Version

anandhan
Star Contributor
Star Contributor

Hi Gregory Carlin

it's working after i removed and installed nuxeo-cli

now i'm getting error while running nuxeo sync,

posted detailed error message in the below conversation..

anandhan
Star Contributor
Star Contributor

Hi [Gregory Carlin](https

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.