Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Doesn't install on windows 8, breaks jsDAV and cloud9 ide #11

Open
Fire- opened this issue Oct 8, 2013 · 20 comments
Open

Doesn't install on windows 8, breaks jsDAV and cloud9 ide #11

Fire- opened this issue Oct 8, 2013 · 20 comments

Comments

@Fire-
Copy link

Fire- commented Oct 8, 2013

Windows 8 Pro x64
node 0.10.5
npm 1.2.18
Trying to install Cloud9 IDE following their windows instructions.
Cygwin grep was already installed and in-path, didn't work.
Tried installing gnuwin32 grep, added to path, didn't work.
Removed cygwin grep from path to avoid path conflict, didn't work.
This package refuses to detect grep, even when it clearly exists on the system.

C:\projects\js\cloud9>npm install gnu-tools
npm http GET https://registry.npmjs.org/gnu-tools
npm http 200 https://registry.npmjs.org/gnu-tools
npm WARN package.json [email protected] No README.md file found!

> [email protected] postinstall C:\projects\js\cloud9\node_modules\gnu-tools
> node ./install.js

path.existsSync is now called `fs.existsSync`.
Creating directory  C:\projects\js\cloud9\node_modules\gnu-tools/bin
path.exists is now called `fs.exists`.
[Error: You need some version of `grep` on your PATH to compile the gnu-tools version of grep!] 'Error: You need some version of `grep` on your PATH to compile the gnu-tools version of grep!\n    at C:\\projects\\js\\cloud9\\node_modules\\gnu-tools\\install.js:38:18\n    at C:\\projects\\js\\cloud9\\node_modules\\gnu-tools\\install.js:117:17\n    at Object.cb [as oncomplete] (fs.js:168:19)'
npm ERR! [email protected] postinstall: `node ./install.js`
npm ERR! `cmd "/c" "node ./install.js"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is most likely a problem with the gnu-tools package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls gnu-tools
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"
 "install" "gnu-tools"
npm ERR! cwd C:\projects\js\cloud9
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\projects\js\cloud9\npm-debug.log
npm ERR! not ok code 0
C:\projects\js\cloud9>npm install jsDAV
npm http GET https://github.com/ajaxorg/jsDAV/tarball/f78c34c94fa915ca1b24975839b78ff88ea851d6
npm http 200 https://github.com/ajaxorg/jsDAV/tarball/f78c34c94fa915ca1b24975839b78ff88ea851d6
npm http GET https://github.com/ajaxorg/jsftp/tarball/97d65da1c29f3bc9b1a2363431b87a7bc9520373
npm http GET https://registry.npmjs.org/asyncjs/0.0.8
npm http GET https://registry.npmjs.org/formidable/1.0.9
npm http GET https://registry.npmjs.org/node-sftp/0.1.1
npm http GET https://registry.npmjs.org/gnu-tools/0.0.8
npm http GET https://registry.npmjs.org/xmldom/0.1.2
npm http 304 https://registry.npmjs.org/formidable/1.0.9
npm http 304 https://registry.npmjs.org/gnu-tools/0.0.8
npm http 304 https://registry.npmjs.org/node-sftp/0.1.1
npm http 304 https://registry.npmjs.org/xmldom/0.1.2
npm http 304 https://registry.npmjs.org/asyncjs/0.0.8
npm WARN package.json [email protected] No README.md file found!
npm http 200 https://github.com/ajaxorg/jsftp/tarball/97d65da1c29f3bc9b1a2363431b87a7bc9520373
npm http GET https://registry.npmjs.org/streamer
npm http 304 https://registry.npmjs.org/streamer

> [email protected] postinstall C:\projects\js\cloud9\node_modules\jsDAV\node_modules\gnu-tools
> node ./install.js

path.existsSync is now called `fs.existsSync`.
Creating directory  C:\projects\js\cloud9\node_modules\jsDAV\node_modules\gnu-tools/bin
path.exists is now called `fs.exists`.
[Error: You need some version of `grep` on your PATH to compile the gnu-tools version of grep!] 'Error: You need some version of `grep` on your PATH to compile the gnu-tools version of grep!\n    at C:\\projects\\js\\cloud9\\node_modules\\jsDAV\\node_modules\\gnu-tools\\install.js:38:18\n    at C:\\projects\\js\\cloud9\\node_modules\\jsDAV\\node_modules\\gnu-tools\\install.js:117:17\n    at Object.cb [as oncomplete] (fs.js:168:19)'
npm ERR! [email protected] postinstall: `node ./install.js`
npm ERR! `cmd "/c" "node ./install.js"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is most likely a problem with the gnu-tools package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls gnu-tools
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "jsDAV"
npm ERR! cwd C:\projects\js\cloud9
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\projects\js\cloud9\npm-debug.log
npm ERR! not ok code 0
@alecperkey
Copy link

similar issue on win7

@ubershmekel
Copy link

+1, getting a similar stack trace when running npm install gnu-tools

@ubershmekel
Copy link

It doesn't work even if you bypass these checks as it requires make. I get

Compiling sources!

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:980:11)
    at Process.ChildProcess._handle.onexit (child_process.js:771:34)

In general I'd recommend the dependency to be GitHub for windows and not gnuwin32 as using the git shell removes the need for any path environment variable meddling.

@stolsma
Copy link

stolsma commented Dec 14, 2013

I can't get it to install with:

npm install gnu-tools

but with:

npm install git+https://github.com/c9/node-gnu-tools

I get it installed...

It looks like the 0.0.8 package version on NPM is borked, not the latest 0.0.8 version, or something like that...

@Raubritter
Copy link

i cant get this installed. i got a similar problem like the above one.

but for me stolsmas solution doesnt work:
C:\xampp\htdocs\cloud9>npm install git+https://github.com/c9/node-gnu-tools
npm ERR! git clone https://github.com/c9/node-gnu-tools CreateProcessW: Das Syst
em kann den angegebenen Pfad nicht finden.
npm ERR! Error: C:/Program Files(x86)/Git/bin "clone" "https://github.com/c9/no de-gnu-tools" "C:\\Users\\Robin\\AppData\\Local\\Temp\\npm-29124\\1390001554324- 0.6964147919788957" failed with 127
npm ERR! at ChildProcess. (C:\Program Files\nodejs\node_modules\n
pm\lib\utils\exec.js:56:20)
npm ERR! at ChildProcess.EventEmitter.emit (events.js:96:17)
npm ERR! at Process._handle.onexit (child_process.js:678:10)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "git+https://github.com/c9/no
de-gnu-tools"
npm ERR! cwd C:\xampp\htdocs\cloud9
npm ERR! node -v v0.8.11
npm ERR! npm -v 1.1.62
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\xampp\htdocs\cloud9\npm-debug.log
npm ERR! not ok code 0

i try to install cloud9 on windows since more then 20 hours. But i cant find any solution. :( any help would be fine!

@JeanHuguesRobert
Copy link

+1
npm v 0.8 is apparently broken with some of the later commit in git not included (stuff about grep presence detection).
I tried the "npm install git+https://github.com/c9/node-gnu-tools", which require that "git" be on your PATH, but then it's "make ace" that breaks.
I installed cygwin. But "dcd cloud9; npm install" is deeply not working in a cygwin shell ($'\r': cmmand not found, etc...) and "make" is not available outside of it in cmd.exe...
Stuck. See also https://github.com/ajaxorg/cloud9/issues/3026 #3026

@denchenko
Copy link

Same problem. I have grep in %path%, but stuck on 'npm install'.

@GrosLalo
Copy link

GrosLalo commented Mar 9, 2014

I am also facing problem with installing cloud ide on my local Windows 8.1 machine.

npm version 1.4.3
node version 0.10.26

In my case i was not able to npm install git+https://github.com/c9/node-gnu-tools. i get the following error:
configure: error: no acceptable C compiler found in $PATH
Would someone have a suggestion for me?

@jgentes
Copy link

jgentes commented May 2, 2014

+1

3 similar comments
@71104
Copy link

71104 commented May 20, 2014

+1

@MetaMemoryT
Copy link

+1

@Stewartarmbrecht
Copy link

+1

ryankevans pushed a commit to ryankevans/node-gnu-tools that referenced this issue Sep 4, 2014
@MexieAndCo
Copy link

+1

@erikroyall
Copy link

Same issue for me. On 8.1 Pro, Node v0.11.9, NPM v 1.4.9

@9suns
Copy link

9suns commented Oct 4, 2014

I solved this problem...
gnu-tools needs xUnix compile environment,so I install MinGW, and In MinGW's command shell msys\1.0\msys.bat
Run
npm install gnu-tools
It may success

@teragoon
Copy link

teragoon commented Oct 5, 2014

@9suns Thanks!!!

@NuerSir
Copy link

NuerSir commented Oct 10, 2014

@9suns thanks

@mihai-vlc
Copy link

@9suns thanks ! also make sure you run the shell as Administrator

@Moytri
Copy link

Moytri commented Nov 19, 2015

How to install cloud9 on window 8.1 ? Need suggestion .

@nightwing
Copy link

@Moytri see https://github.com/c9/core,
Cloud9 doesn't use node-gnu-tools and jsdav anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests