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

TypeError: Cannot read property 'prerelease' of null #3

Closed
PeterDaveHello opened this issue Aug 7, 2015 · 1 comment
Closed

TypeError: Cannot read property 'prerelease' of null #3

PeterDaveHello opened this issue Aug 7, 2015 · 1 comment

Comments

@PeterDaveHello
Copy link
Contributor

Seems we'll get this error when the input cannot been parsed by semver ...

TypeError: Cannot read property 'prerelease' of null
at repl:1:12
at REPLServer.self.eval (repl.js:110:21)
at Interface. (repl.js:239:12)
at Interface.emit (events.js:95:17)
at Interface._onLine (readline.js:203:10)
at Interface._line (readline.js:532:8)
at Interface._ttyWrite (readline.js:761:14)
at ReadStream.onkeypress (readline.js:100:10)
at ReadStream.emit (events.js:98:17)
at emitKey (readline.js:1096:12)

kaelzhang pushed a commit that referenced this issue Aug 8, 2015
treat unparsable version as unstable, fix #3
kaelzhang pushed a commit that referenced this issue Aug 8, 2015
@kaelzhang
Copy link
Owner

landed in 2.0.4

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

2 participants