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

'mean status' fails with error #782

Closed
stevenp opened this issue Sep 13, 2014 · 0 comments · May be fixed by pesaply/mean#30, pesaply/mean#31, enterstudio/payroll-mean#28, pesaply/mean#33 or enterstudio/payroll-mean#30

Comments

@stevenp
Copy link

stevenp commented Sep 13, 2014

After doing a new mean install today, trying to check the status of my install with mean status fails with this error. It appears as though the format of the npm outdated list is not what mean is expecting.

    MEAN Status
    -----------

    MEAN VERSION: 0.4.0

    DB connection successful!

    MongoDB URI: mongodb://localhost/mean-dev

    checking meanio and global mean-cli versions

/usr/local/lib/node_modules/meanio/lib/cli.js:130
      latest = list[0][3]; // list[0][3] holds the 'latest' value
                      ^
TypeError: Cannot read property '3' of undefined
    at /usr/local/lib/node_modules/meanio/lib/cli.js:130:23
    at /usr/local/lib/node_modules/meanio/node_modules/npm/lib/outdated.js:42:51
    at cb (/usr/local/lib/node_modules/meanio/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
    at cb (/usr/local/lib/node_modules/meanio/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
    at cb (/usr/local/lib/node_modules/meanio/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
    at cb (/usr/local/lib/node_modules/meanio/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
    at asyncMap (/usr/local/lib/node_modules/meanio/node_modules/npm/node_modules/slide/lib/async-map.js:27:18)
    at next (/usr/local/lib/node_modules/meanio/node_modules/npm/lib/outdated.js:235:5)
    at /usr/local/lib/node_modules/meanio/node_modules/npm/lib/outdated.js:198:14
    at ReaddirReq.Req.done (/usr/local/lib/node_modules/meanio/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:141:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment