Closed logicware closed 10 years ago
Hmmm, build is fine on Linux for me. Also see https://github.com/p-m-p/node-oauth/blob/master/lib/oauth.js#L9
Ignore my last comment! I'm mocking the lib out in my tests.
I'll update it when I get a chance, thanks.
+1.
I've actually updated the code if you want to just reference the repo in your package.json. I'll push a new version soon as I get a chance to make some other changes I have outstanding.
Thanks. I have switched to another lib, anyway.
Please change the following line in the /lib/fitbit.js:
var OAuth = require('OAuth')
to
var OAuth = require('oauth')
It works fine on Windows but on Unix/Linux based systems it causes an error. I changed this line and now my app is running fine on my AWS EC2 instance.
Regards
Matloob