Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8254

SpiderMonkey shell fails on startup -- ReferenceError: assert is not defined

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.0-rc0
    • Affects Version/s: None
    • Component/s: JavaScript, Shell
    • None
    • Environment:
      Tested on Windows, Ubuntu and Mac OS/X -- fails on all
    • ALL
    • Hide

      rm -rf build
      scons all --64 --dd --usesm
      ./mongo --nodb
      // fails with ReferenceError

      Show
      rm -rf build scons all --64 --dd --usesm ./mongo --nodb // fails with ReferenceError

      Windows:

      10:49:23.13 G:\Visual Studio 2010 Projects\mongodev> build\win32\64\dd\usesm\mongo\mongo.exe --nodb
      MongoDB shell version: 2.3.3-pre-
      Mon Jan 21 11:11:58.114 ReferenceError: assert is not defined src/mongo/shell/servers.js:58
      exception: src/mongo/shell/servers.js exec failed: ReferenceError: assert is not defined src/mongo/shell/servers.js:58
      

      Presumably fallout from reorganization of JavaScript built-ins.

            Assignee:
            benjamin.becker Ben Becker
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: