README issues #13

kortina opened this Issue Mar 22, 2013 · 1 comment


None yet
3 participants

kortina commented Mar 22, 2013

Had some issues when trying to run from source rather than from npm install.

I had to do var braintree = require('braintree_node/lib/braintree') instead of var braintree = require('braintree-node/lib/braintree') instead of README.

Also, had to run my_braintree_test.js (create a file with the example code from the README with this name) with

env NODE_PATH=`pwd` my_braintree_test.js

to get it to look in the directory I had git cloned for the braintree module.

Also, had to npm install underscore. This was not listed as a dependency.

Right. When you're cloning from source, the default directory git will stick the source in a braintree_node directory instead of braintree-node. Where did you place the my_braintree_test.js file in relation to the cloned module?

As far as the dependencies go, we might need to add a note about running npm install from the root of the braintree_node project to download and install any dependencies like underscore.

@braintreeps braintreeps closed this Apr 9, 2013

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