brackets-terminal icon indicating copy to clipboard operation
brackets-terminal copied to clipboard

Setup errors.

Open mselmany opened this issue 10 years ago • 3 comments

When I setting up tty.js on the command panel, it gives too many errors.Is there any other package ı have to install or is it about window 7 environments.


> [email protected] install C:\Users\mselmany\AppData\Roaming\npm\node_modules\tty.js
\node_modules\pty.js
> node-gyp rebuild

C:\Users\mselmany\AppData\Roaming\npm\node_modules\tty.js\node_modules\pty.js>no
de "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_
modules\node-gyp\bin\node-gyp.js" 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 (x86)\nodejs\node_modules\n
pm\node_modules\node-gyp\lib\configure.js:103:14)
gyp ERR! stack     at C:\Program Files (x86)\nodejs\node_modules\npm\node_module
s\node-gyp\lib\configure.js:64:11
gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:107:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\nod
e_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\mselmany\AppData\Roaming\npm\node_modules\tty.js\node_modu
les\pty.js
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
-


> [email protected] install C:\Users\mselmany\AppData\Roaming\npm\node_modules\tty.js\no
de_modules\socket.io\node_modules\socket.io-client\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)


C:\Users\mselmany\AppData\Roaming\npm\node_modules\tty.js\node_modules\socket.io
\node_modules\socket.io-client\node_modules\ws>node "C:\Program Files (x86)\node
js\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.j
s" rebuild
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the pty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls pty.js
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "tty.js"
npm ERR! cwd C:\Users\mselmany
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

mselmany avatar Dec 13 '14 14:12 mselmany

Same issue here

chrisdrogaris avatar Dec 15 '14 16:12 chrisdrogaris

It says you don't have Python, is that accurate? If so, you should install it. Not sure if that is the whole problem though.

OKNoah avatar Jan 11 '15 18:01 OKNoah

Having the same issue. Linux (luna OS)

jasonc624 avatar Mar 12 '15 17:03 jasonc624