Skip to content

Instantly share code, notes, and snippets.

@Stanley
Created January 29, 2011 17:46
Show Gist options
  • Save Stanley/802036 to your computer and use it in GitHub Desktop.
Save Stanley/802036 to your computer and use it in GitHub Desktop.
TypeError: Bad argument.
at Buffer.toString (buffer.js:263:26)
at Object.readFileSync (fs.js:126:33)
at Object..js (module.js:292:44)
at Module.load (module.js:219:31)
at Function._load (module.js:186:10)
at require (module.js:231:19)
at getDefaultParser (/home/github/jsdom/lib/jsdom/browser/index.js:175:23)
at Object.browserAugmentation (/home/github/jsdom/lib/jsdom/browser/index.js:199:33)
at Object.jsdom (/home/github/jsdom/lib/jsdom.js:33:25)
$ uname -a
Linux blue 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux
$ node -v
v0.3.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment