Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/09/2015, 08:28
Avatar de albert925
albert925
 
Fecha de Ingreso: mayo-2014
Ubicación: Colombia
Mensajes: 10
Antigüedad: 9 años, 11 meses
Puntos: 0
Problema instalar socket.io

Buenos dias a todos, tengo un problema instalar socket.io en windows 10, ya le di permisos a la carpeta, pero aun me sale el error al instalar, hay otra forma de que me deje permitir instalarlo? les agradesco muchísimo.

Código console:
Ver original
  1. Microsoft Windows [Versión 10.0.10240]
  2. (c) 2015 Microsoft Corporation. Todos los derechos reservados.
  3.  
  4. C:\Users\program>cd C:\Program Files\nodejs
  5.  
  6. C:\Program Files\nodejs>npm install socket.io
  7.  
  8. > [email protected] install C:\Program Files\nodejs\node_modules\socket.io\node_modules\engine.io\node_modules\ws\node_modules\bufferutil
  9. > node-gyp rebuild
  10.  
  11. |
  12. C:\Program Files\nodejs\node_modules\socket.io\node_modules\engine.io\node_modules\ws\node_modules\bufferutil>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 )
  13. gyp ERR! configure error
  14. gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
  15. gyp ERR! stack     at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
  16. gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
  17. gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)
  18. gyp ERR! System Windows_NT 10.0.10240
  19. gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
  20. gyp ERR! cwd C:\Program Files\nodejs\node_modules\socket.io\node_modules\engine.io\node_modules\ws\node_modules\bufferutil
  21. gyp ERR! node -v v4.1.1
  22. gyp ERR! node-gyp -v v3.0.3
  23. gyp ERR! not ok
  24.  
  25. > [email protected] install C:\Program Files\nodejs\node_modules\socket.io\node_modules\engine.io\node_modules\ws\node_modules\utf-8-validate
  26. > node-gyp rebuild
  27.  
  28.  
  29. C:\Program Files\nodejs\node_modules\socket.io\node_modules\engine.io\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 )
  30. gyp ERR! configure error
  31. gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
  32. gyp ERR! stack     at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
  33. gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
  34. gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)
  35. gyp ERR! System Windows_NT 10.0.10240
  36. gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
  37. gyp ERR! cwd C:\Program Files\nodejs\node_modules\socket.io\node_modules\engine.io\node_modules\ws\node_modules\utf-8-validate
  38. gyp ERR! node -v v4.1.1
  39. gyp ERR! node-gyp -v v3.0.3
  40. gyp ERR! not ok
  41. npm WARN optional dep failed, continuing [email protected]
  42.  
  43. > [email protected] install C:\Program Files\nodejs\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
  44. > node-gyp rebuild
  45.  
  46.  
  47. C:\Program Files\nodejs\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\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 )
  48. gyp ERR! configure error
  49. gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
  50. gyp ERR! stack     at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
  51. gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
  52. gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)
  53. gyp ERR! System Windows_NT 10.0.10240
  54. gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
  55. gyp ERR! cwd C:\Program Files\nodejs\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
  56. gyp ERR! node -v v4.1.1
  57. gyp ERR! node-gyp -v v3.0.3
  58. gyp ERR! not ok
  59. npm WARN optional dep failed, continuing [email protected]
  60.  
  61. > [email protected] install C:\Program Files\nodejs\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
  62. > node-gyp rebuild
  63.  
  64.  
  65. C:\Program Files\nodejs\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil>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 )
  66. gyp ERR! configure error
  67. gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
  68. gyp ERR! stack     at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
  69. gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
  70. gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)
  71. gyp ERR! System Windows_NT 10.0.10240
  72. gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
  73. gyp ERR! cwd C:\Program Files\nodejs\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
  74. gyp ERR! node -v v4.1.1
  75. gyp ERR! node-gyp -v v3.0.3
  76. gyp ERR! not ok
  77. npm WARN optional dep failed, continuing [email protected]
  78. npm WARN optional dep failed, continuing [email protected]
  79. [email protected] node_modules\socket.io
  80.  
  81. C:\Program Files\nodejs>