Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm ERR! Cannot read property 'length' of undefined #1221

Open
clauded opened this issue Jul 24, 2019 · 0 comments
Open

npm ERR! Cannot read property 'length' of undefined #1221

clauded opened this issue Jul 24, 2019 · 0 comments

Comments

@clauded
Copy link

clauded commented Jul 24, 2019

Environment

  • Machine or Virtual Machine details: Centos VM
  • Operating System: CentOS Linux release 7.6.1810 (Core)
  • meza version hash: 401fbfe

Issue details

Getting the following error when running meza deploy monolith on an already configurer meza env:

TASK [parsoid : Ensure Parsoid dependencies are latest] *************************************************************************************************************************************************************************************
Wednesday 24 July 2019  15:22:03 -0400 (0:00:04.257)       0:13:34.747 ********
fatal: [localhost]: FAILED! => {
    "changed": true, 
    "cmd": "cd /etc/parsoid && npm install", 
    "delta": "0:00:01.371818", 
    "end": "2019-07-24 15:22:05.430802", 
    "rc": 1, 
    "start": "2019-07-24 15:22:04.058984"
}

STDERR:

npm ERR! Cannot read property 'length' of undefined

npm ERR! A complete log of this run can be found in:
npm ERR!     /opt/conf-meza/users/parsoid/.npm/_logs/2019-07-24T19_22_05_395Z-debug.log


MSG:

non-zero return code

And here's the full log:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/lib/node/bin/node', '/bin/npm', 'install' ]
2 info using npm@5.6.0
3 info using node@v8.11.1
4 verbose npm-session d5034deae6579245
5 verbose stack TypeError: Cannot read property 'length' of undefined
5 verbose stack     at Object.<anonymous> (/usr/local/lib/node/lib/node_modules/npm/node_modules/worker-farm/lib/farm.js:5:61)
5 verbose stack     at Module._compile (module.js:652:30)
5 verbose stack     at Object.Module._extensions..js (module.js:663:10)
5 verbose stack     at Module.load (module.js:565:32)
5 verbose stack     at tryModuleLoad (module.js:505:12)
5 verbose stack     at Function.Module._load (module.js:497:3)
5 verbose stack     at Module.require (module.js:596:17)
5 verbose stack     at require (internal/module.js:11:18)
5 verbose stack     at Object.<anonymous> (/usr/local/lib/node/lib/node_modules/npm/node_modules/worker-farm/lib/index.js:3:14)
5 verbose stack     at Module._compile (module.js:652:30)
5 verbose stack     at Object.Module._extensions..js (module.js:663:10)
5 verbose stack     at Module.load (module.js:565:32)
5 verbose stack     at tryModuleLoad (module.js:505:12)
5 verbose stack     at Function.Module._load (module.js:497:3)
5 verbose stack     at Module.require (module.js:596:17)
5 verbose stack     at require (internal/module.js:11:18)
6 verbose cwd /etc/parsoid
7 verbose Linux 4.15.0-54-generic
8 verbose argv "/usr/local/lib/node/bin/node" "/bin/npm" "install"
9 verbose node v8.11.1
10 verbose npm  v5.6.0
11 error Cannot read property 'length' of undefined
12 verbose exit [ 1, true ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant