Skip to content

Error on basic functionality #13

Description

@conatus

Hi all - thanks for developing this code.

Having trouble getting it working however.

bash-3.2$ browserstack status
Mac sessions limit: 4
Running windows sessions: 0
Total available time: 150000
Used time: 0
Running mac sessions: 0
Windows sessions limit: 8
bash-3.2$ browserstack browsers
undefined
bash-3.2$ browserstack launch firefox:3.6 http://google.com

/opt/boxen/nvm/v0.8.8/lib/node_modules/browserstack-cli/node_modules/browseroverflow/lib/select_browser.js:43
  return browsers.sort(function(one, other){
                  ^
TypeError: Cannot call method 'sort' of null
    at sort (/opt/boxen/nvm/v0.8.8/lib/node_modules/browserstack-cli/node_modules/browseroverflow/lib/select_browser.js:43:19)
    at Object.selectBrowser (/opt/boxen/nvm/v0.8.8/lib/node_modules/browserstack-cli/node_modules/browseroverflow/lib/select_browser.js:5:14)
    at Object.BrowserStack.launch (/opt/boxen/nvm/v0.8.8/lib/node_modules/browserstack-cli/node_modules/browseroverflow/lib/browserstack.js:76:30)
    at _fun (/opt/boxen/nvm/v0.8.8/lib/node_modules/browserstack-cli/node_modules/browseroverflow/lib/cache.js:24:12)
    at /opt/boxen/nvm/v0.8.8/lib/node_modules/browserstack-cli/node_modules/browseroverflow/lib/cache.js:15:10
    at fs.readFile (fs.js:176:14)
    at Object.oncomplete (fs.js:297:15)

Clear that for some reason the browser variable is not being populated therefore the method is bailing out, although apparently the API access works.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions