Skip to content

Instantly share code, notes, and snippets.

@votaguz
Created May 18, 2011 09:57
Show Gist options
  • Select an option

  • Save votaguz/978309 to your computer and use it in GitHub Desktop.

Select an option

Save votaguz/978309 to your computer and use it in GitHub Desktop.
Now Example Error
console@macbook : $ node helloworld_server.js
{ stack: [Getter/Setter],
arguments: undefined,
type: undefined,
message: 'EBADF, Bad file descriptor \'/Users/Votaguz/Downloads/Flotype-now-2879dfe/examples/helloworld_example/nowjs.json\'',
errno: 9,
code: 'EBADF',
path: '/Users/Votaguz/Downloads/Flotype-now-2879dfe/examples/helloworld_example/nowjs.json' }
Error: EBADF, Bad file descriptor '/Users/Votaguz/Downloads/Flotype-now-2879dfe/examples/helloworld_example/nowjs.json'
at Object.openSync (fs.js:200:18)
at Object.readFileSync (fs.js:91:15)
at readConfigFile (/usr/local/lib/node/.npm/now/0.6.0/package/lib/nowServerLib.js:307:16)
at Object.initialize (/usr/local/lib/node/.npm/now/0.6.0/package/lib/nowServerLib.js:279:23)
at Object.<anonymous> (/Users/Votaguz/Downloads/Flotype-now-2879dfe/examples/helloworld_example/helloworld_server.js:11:22)
at Module._compile (module.js:383:26)
at Object..js (module.js:389:10)
at Module.load (module.js:315:31)
at Function._load (module.js:276:12)
at Array.<anonymous> (module.js:402:10)
@ahmedmrefaat

Copy link
Copy Markdown

thanks acidhax did the same and it worked

@cryptix

cryptix commented May 18, 2011

Copy link
Copy Markdown

yep. touching the file helps.

@votaguz

votaguz commented May 18, 2011

Copy link
Copy Markdown
Author

Thanks AcidHax

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