-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Autocomplete
-
None
-
Iteration Düsseldorf
-
Not Needed
> db.shipwrecks.aggregate([ { $Tab completion error: TypeError: Invalid Version: undefined at new SemVer (/home/addaleax/src/mongosh/packages/autocomplete/node_modules/semver/classes/semver.js:22:13) at compare (/home/addaleax/src/mongosh/packages/autocomplete/node_modules/semver/functions/compare.js:3:3) at Object.gte (/home/addaleax/src/mongosh/packages/autocomplete/node_modules/semver/functions/gte.js:2:30) at isAcceptable (/home/addaleax/src/mongosh/packages/autocomplete/lib/index.js:102:26) at /home/addaleax/src/mongosh/packages/autocomplete/lib/index.js:124:55 at eval (eval at innerEval (/home/addaleax/src/mongosh/packages/shell-evaluator/lib/shell-evaluator.js:34:13), <anonymous>:1:115235) at Array._arv9.filter (eval at innerEval (/home/addaleax/src/mongosh/packages/shell-evaluator/lib/shell-evaluator.js:34:13), <anonymous>:1:115988) at filterQueries (/home/addaleax/src/mongosh/packages/autocomplete/lib/index.js:123:30) at completer (/home/addaleax/src/mongosh/packages/autocomplete/lib/index.js:78:26) at /home/addaleax/src/mongosh/packages/cli-repl/lib/mongosh-repl.js:149:44
- is related to
-
MONGOSH-770 Adjust autocomplete to account for versioned API
- Closed