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

Error running on Ubuntu 14.04 #1

Open
jakub-g opened this issue Feb 25, 2015 · 1 comment
Open

Error running on Ubuntu 14.04 #1

jakub-g opened this issue Feb 25, 2015 · 1 comment

Comments

@jakub-g
Copy link
Owner

jakub-g commented Feb 25, 2015

From node-inspector/node-inspector#567

/usr/lib/node_modules/node-inspector/node_modules/biased-opener/index.js:97
var goodEnough = isDefaultBrowserGoodEnough(browserInfo.commonName, pr
^
TypeError: Cannot read property 'commonName' of undefined
at /usr/lib/node_modules/node-inspector/node_modules/biased-opener/index.js:97:64
at /usr/lib/node_modules/node-inspector/node_modules/biased-opener/node_modules/x-default-browser/lib/detect-linux.js:9:13
@jakub-g
Copy link
Owner Author

jakub-g commented Feb 25, 2015

@roysG can you please do the following to help me debug this issue? I could not reproduce it on my Ubuntu 14.04 VM (I installed Chrome from http://www.google.com/chrome/).

mkdir temp_dir
cd temp_dir
npm install x-default-browser
touch test.js
gedit test.js  # put contents as below
nodejs test.js

test.js:

var defaultBrowser = require('x-default-browser');
defaultBrowser(function (err, res) {
  console.log(err);
  console.dir(res);
});

Likely it will log an error in the first line, I want to know what kind of error it is

@jakub-g jakub-g changed the title Error running on Ubuntu Error running on Ubuntu 14.04 Feb 25, 2015
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

1 participant