Err -> set up Windows Development Environment

when execute npm install,

npm ERR! phantomjs@1.9.7-1 install: `node install.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the phantomjs@1.9.7-1 install script.
npm ERR! This is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "d:\\Innocence\\Program\\nodejs\\node.exe" "d:\\Innocence\\Prog
ram\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd d:\Innocence\Program\Git\CodeCombat\codecombat
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! code ELIFECYCLE

This is probably because Node is not in your path.

Add C:\Program Files\nodejs to your Windows “PATH” environment variable.

I think it should work then. Let me know if that helps.

actually,some guy told me that I should change my python version to 2.7 to solve this problem ,and it works