Floobits / atom-term3

Open Terminal tabs in Atom. Fork of Term package
Other
88 stars 17 forks source link

When I installed term3 in atom. I got this error. #75

Open onepaper-bot opened 7 years ago

onepaper-bot commented 7 years ago

ptyw.js@0.4.1 install C:\Users\USER\AppData\Local\Temp\apm-install-dir-11688-7920-19omzzl\node_modules\term3\node_modules\ptyw.js node-gyp rebuild

C:\Users\USER\AppData\Local\Temp\apm-install-dir-11688-7920-19omzzl\node_modules\term3\node_modules\ptyw.js>if not defined npm_config_node_gyp (node "C:\Users\USER\AppData\Local\atom\app-1.10.2\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\USER\AppData\Local\atom\app-1.10.2\resources\app\apm\bin..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) C:\Users\USER\AppData\Local\Temp\apm-install-dir-11688-7920-19omzzl `-- (empty)

npm WARN deprecated react-tools@0.11.2: react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at failNoPython (C:\Users\USER\AppData\Local\atom\app-1.10.2\resources\app\apm\node_modules\node-gyp\lib\configure.js:449:14) gyp ERR! stack at C:\Users\USER\AppData\Local\atom\app-1.10.2\resources\app\apm\node_modules\node-gyp\lib\configure.js:404:11 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15) gyp ERR! System Windows_NT 10.0.10240 gyp ERR! command "C:\Users\USER\AppData\Local\atom\app-1.10.2\resources\app\apm\bin\node.exe" "C:\Users\USER\AppData\Local\atom\app-1.10.2\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\USER\AppData\Local\Temp\apm-install-dir-11688-7920-19omzzl\node_modules\term3\node_modules\ptyw.js gyp ERR! node -v v4.4.5 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\USER\AppData\Local\Temp\apm-install-dir-11688-7920-19omzzl\package.json' npm WARN apm-install-dir-11688-7920-19omzzl No description npm WARN apm-install-dir-11688-7920-19omzzl No repository field. npm WARN apm-install-dir-11688-7920-19omzzl No README data npm WARN apm-install-dir-11688-7920-19omzzl No license field. npm ERR! Windows_NT 10.0.10240 npm ERR! argv "C:\Users\USER\AppData\Local\atom\app-1.10.2\resources\app\apm\bin\node.exe" "C:\Users\USER\AppData\Local\atom\app-1.10.2\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\USER.atom.apm.apmrc" "--userconfig" "C:\Users\USER.atom.apmrc" "install" "C:\Users\USER\AppData\Local\Temp\d-11688-7920-7k38dn\package.tgz" "--runtime=electron" "--target=0.37.8" "--arch=ia32" "--global-style" npm ERR! node v4.4.5 npm ERR! npm v3.10.5 npm ERR! code ELIFECYCLE

npm ERR! ptyw.js@0.4.1 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ptyw.js@0.4.1 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the ptyw.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 information on how to open an issue for this project with: npm ERR! npm bugs ptyw.js npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls ptyw.js npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\USER\AppData\Local\Temp\apm-install-dir-11688-7920-19omzzl\npm-debug.log npm ERR! code 1

Do you guys have any solutions?

cyberchucktx commented 7 years ago

I got the same thing just now. Any fixes yet? Similar errors for TERM2 as well.

onepaper-bot commented 7 years ago

I couldn't fix it. So I just moved to sublimetext3..

fakeheal commented 7 years ago

@gurumzip @cyberchucktx If you check the log, you can see an error saying:

Can't find Python executable "python", you can set the PYTHON env variable.

Probably this package needs python isntalled in order to install dependencies.

ghost commented 6 years ago

I ran into similar problems. Here is how I believe I got it working:

Install MS components needed for build: I used windows-build-tools Download and install .Net Framework 4.5 (needed for windows 7 machine) install windows build tools npm install --global windows-build-tools