1

I am trying to build a REST Web Services using Node.js so downloaded and installed node.js version 0.10.29 from http://nodejs.org/ and python version 2.5 after installing that I tried to install restify.

C:\Program Files\nodejs>npm install restify

Its shows a Error:'gyp' failed with the exit code :1? as shown in the below image and I have also searched lot in google about this error but I couldn't able to find solution.

enter image description here

sathishkumar
  • 158
  • 2
  • 10
  • 1
    Check this http://stackoverflow.com/questions/21155922/error-installing-node-gyp-on-ubuntu It says You need python 2.6 during the installation. – Damodaran Jun 24 '14 at 04:34

1 Answers1

2

Yes I have installed restify. The above error has been due to the conflict of the python version 2.5 . When I installed python version 2.6 it worked correctly. And also i have set system variables for microsoft sdk's.

sathishkumar
  • 158
  • 2
  • 10