Re: Error while running nodejs test servers and clients

2014-03-29 Thread Chamila Wijayarathna
Hi, After having chat with Randy, I was able to fix the problem. I ran npm test from lib/nodejs/test and set NODE_HOME to lib/nodejs/lib. Thank You On Sat, Mar 29, 2014 at 1:13 PM, Chamila Wijayarathna < cdwijayarat...@gmail.com> wrote: > Hi Randy, > I am running thrift source cloned from githu

Re: Error while running nodejs test servers and clients

2014-03-29 Thread Chamila Wijayarathna
Hi Randy, I am running thrift source cloned from github [1]. My running nodejs version is v0.10.25 and thrift version is 1.0.0-dev. I tried almost everything you suggested, but still getting *chamila@chamila-Dell-System-Vostro-3450:~/GSoC/thrift$ nodejs lib/nodejs/test/client.js -p binary -t buffe

Re: Error while running nodejs test servers and clients

2014-03-28 Thread Randy Abernethy
Hi Chamila, Perhaps I can help on the Node.js front. I assume you are you working with the trunk, and if so: You do not want to npm install any part of thrift. Running npm install thrift will install the latest published branch of thrift for Node.js, which is 0.9.1 right now. Because the test

Re: Error while running nodejs test servers and clients

2014-03-27 Thread Chamila Wijayarathna
Hi Jake, I tried that, but still getting the same result. chamila@chamila-Dell-System-Vostro-3450:~/GSoC/thrift$ sudo npm config set registry http://registry.npmjs.org/ chamila@chamila-Dell-System-Vostro-3450:~/GSoC/thrift$ sudo npm install thrift/transport npm ERR! Could not install: thrift/trans

Re: Error while running nodejs test servers and clients

2014-03-27 Thread Jake Farrell
Run the following before npm install, I ran into this issue as well when testing the vagrant image, I have a patch for it which I have not committed yet sudo npm config set registry http://registry.npmjs.org/ -Jake On Thu, Mar 27, 2014 at 2:20 PM, Chamila Wijayarathna < cdwijayarat...@gmail.com