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

Cannot read property 'version' of undefined #70

Open
jhnns opened this issue Mar 6, 2018 · 0 comments
Open

Cannot read property 'version' of undefined #70

jhnns opened this issue Mar 6, 2018 · 0 comments
Labels

Comments

@jhnns
Copy link
Member

jhnns commented Mar 6, 2018

I just wanted to do a non-breaking update on all dependencies in an example project without tests and I executed updtr --to non-breaking -t "exit 0". After installing all updates, I received:

 ERROR  Cannot read property 'version' of undefined
    at /Users/jhnns/dev/peerigon/updtr/dist/index.js:1021:85
    at Array.map (<anonymous>)
    at _callee$ (/Users/jhnns/dev/peerigon/updtr/dist/index.js:1015:25)
    at tryCatch (/Users/jhnns/dev/peerigon/updtr/node_modules/regenerator-runtime/runtime.js:65:40)
    at Generator.invoke [as _invoke] (/Users/jhnns/dev/peerigon/updtr/node_modules/regenerator-runtime/runtime.js:303:22)
    at Generator.prototype.(anonymous function) [as next] (/Users/jhnns/dev/peerigon/updtr/node_modules/regenerator-runtime/runtime.js:117:21)
    at step (/Users/jhnns/dev/peerigon/updtr/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
    at /Users/jhnns/dev/peerigon/updtr/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
universal master ✗ 71c4a26 195d △ ⍉ ➜ npm -v
5.7.1
universal master ✗ 71c4a26 196d △ ➜ node -v
v9.2.0
universal master ✗ 71c4a26 196d △ ➜ 
@jhnns jhnns added the bug label Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant