Floobits / atom-term3

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

Failing to install, "Failed at the ptyw.js@0.3.8 install script 'node-gyp rebuild'." #61

Open GeoDoX opened 8 years ago

GeoDoX commented 8 years ago

I understand this is a duplicate of #11 and #17 but it's quite obviously come up again, and there was no clear way of fixing it.

Simple, and verbose logs below. Note: Could only copy last bit of the log.

Atom 1.7.4

term3 install failed simple.txt term3 install failed verbose.txt

CaptainBeyondDS8 commented 8 years ago

To install this on Windows you will need Python 2.7 and a Visual C++ build environment. See the homepage for node-gyp: https://github.com/nodejs/node-gyp

l-e-e-o commented 8 years ago

Same problem here. Python and C++ Build Tools are installed.

> ptyw.js@0.4.0 install C:\Users\xxxxx\AppData\Local\Temp\apm-install-dir-11667-8912-12qowgm\node_modules\term3\node_modules\ptyw.js
> node-gyp rebuild

C:\Users\xxxxx\AppData\Local\Temp\apm-install-dir-11667-8912-12qowgm\node_modules\term3\node_modules\ptyw.js>if not defined npm_config_node_gyp (node "C:\Users\xxxxx\AppData\Local\atom\app-1.8.0\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild ) 

npm WARN deprecated react-tools@0.11.2: react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated
gypnpm 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
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\xxxxx\\AppData\\Local\\atom\\app-1.8.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\xxxxx\\AppData\\Local\\atom\\app-1.8.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\xxxxx\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\xxxxx\\.atom\\.apmrc" "install" "C:\\Users\\xxxxx\\AppData\\Local\\Temp\\d-11667-8912-snz8eg\\package.tgz" "--target=0.36.8" "--arch=ia32" "--msvs_version=2012"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! ptyw.js@0.4.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ptyw.js@0.4.0 install script 'node-gyp rebuild'.
npm ERR! 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 their info via:
npm ERR!     npm owner ls ptyw.js
npm ERR! There is likely additional logging output above.
wenmm commented 6 years ago

the same problem +1, hope be debug

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