Hi, Please see the attcahed error that I faced while installing protractor from node js. I am using windows 8 and node js installation was successful. However, when I installed "Protractor" i got the attached error. Could someone please help?
-- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/1812086f-a8cb-4a0b-9131-15f70f40cdae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
> [email protected] install C:\Users\Mohit\AppData\Roaming\npm\node_modules\protr actor\node_modules\selenium-webdriver\node_modules\ws\node_modules\bufferutil > node-gyp rebuild \ C:\Users\Mohit\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium -webdriver\node_modules\ws\node_modules\bufferutil>if not defined npm_config_nod e_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\no de_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild ) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT HON env variable. gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\nod e_modules\node-gyp\lib\configure.js:114:14) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node -gyp\lib\configure.js:69:11 gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:95:15) gyp ERR! System Windows_NT 6.3.9600 gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modu les\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Mohit\AppData\Roaming\npm\node_modules\protractor\node_mod ules\selenium-webdriver\node_modules\ws\node_modules\bufferutil gyp ERR! node -v v0.12.7 gyp ERR! node-gyp -v v2.0.1 gyp ERR! not ok > [email protected] install C:\Users\Mohit\AppData\Roaming\npm\node_modules\p rotractor\node_modules\selenium-webdriver\node_modules\ws\node_modules\utf-8-val idate > node-gyp rebuild C:\Users\Mohit\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium -webdriver\node_modules\ws\node_modules\utf-8-validate>if not defined npm_config _node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\. .\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild ) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT HON env variable. gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\nod e_modules\node-gyp\lib\configure.js:114:14) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node -gyp\lib\configure.js:69:11 gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:95:15) gyp ERR! System Windows_NT 6.3.9600 gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modu les\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Mohit\AppData\Roaming\npm\node_modules\protractor\node_mod ules\selenium-webdriver\node_modules\ws\node_modules\utf-8-validate gyp ERR! node -v v0.12.7 gyp ERR! node-gyp -v v2.0.1 gyp ERR! not ok npm WARN optional dep failed, continuing [email protected] npm WARN optional dep failed, continuing [email protected] C:\Users\Mohit\AppData\Roaming\npm\protractor -> C:\Users\Mohit\AppData\Roaming\ npm\node_modules\protractor\bin\protractor C:\Users\Mohit\AppData\Roaming\npm\webdriver-manager -> C:\Users\Mohit\AppData\R oaming\npm\node_modules\protractor\bin\webdriver-manager [email protected] C:\Users\Mohit\AppData\Roaming\npm\node_modules\protractor +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] ([email protected], [email protected]) +-- [email protected] +-- [email protected] ([email protected], [email protected]) +-- [email protected] ([email protected], [email protected]) +-- [email protected] +-- [email protected] ([email protected]) +-- [email protected] ([email protected], [email protected], [email protected], qs@0 .6.6, [email protected], [email protected], [email protected], [email protected]. 3, [email protected], [email protected], [email protected], [email protected]) +-- [email protected] ([email protected], [email protected], [email protected], [email protected]) C:\Users\Mohit>cd.. C:\Users>cd.. C:\>npm install -g protractor / > [email protected] install C:\Users\Mohit\AppData\Roaming\npm\node_modules\p rotractor\node_modules\selenium-webdriver\node_modules\ws\node_modules\utf-8-val idate > node-gyp rebuild C:\Users\Mohit\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium -webdriver\node_modules\ws\node_modules\utf-8-validate>if not defined npm_config _node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\. .\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild ) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT HON env variable. gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\nod e_modules\node-gyp\lib\configure.js:114:14) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node -gyp\lib\configure.js:69:11 gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:95:15) gyp ERR! System Windows_NT 6.3.9600 gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modu les\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Mohit\AppData\Roaming\npm\node_modules\protractor\node_mod ules\selenium-webdriver\node_modules\ws\node_modules\utf-8-validate gyp ERR! node -v v0.12.7 gyp ERR! node-gyp -v v2.0.1 gyp ERR! not ok \ > [email protected] install C:\Users\Mohit\AppData\Roaming\npm\node_modules\protr actor\node_modules\selenium-webdriver\node_modules\ws\node_modules\bufferutil > node-gyp rebuild
