Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running CITGM on Windows #157

Closed
gibfahn opened this issue Jul 26, 2016 · 9 comments
Closed

Running CITGM on Windows #157

gibfahn opened this issue Jul 26, 2016 · 9 comments

Comments

@gibfahn
Copy link
Member

gibfahn commented Jul 26, 2016

It seems like a good idea to have an issue in here to document the problems people are seeing running CitGM on windows.

I know @joaocgreis and @thealphanerd have been trying to do this, and we run it on our Jenkins instance as well. We end up seeing quite a few failures that are windows specific.

cc. @CurryKitten who is working on this as well.

FYI @mhdawson

@gibfahn gibfahn changed the title Running CITGM on Windows in Jenkins Running CITGM on Windows Jul 26, 2016
@CurryKitten
Copy link
Contributor

Am going through our list of failures. I've just looked at glob which is failing on windows because of a case mismatch on the drive letter. @isaacs has already put a fix in for this, which I've tested and works well, but this hasn't gone into a release as yet.

@MylesBorins
Copy link
Contributor

@CurryKitten would you be able to share the list of failures for us?

@CurryKitten
Copy link
Contributor

CurryKitten commented Jul 26, 2016

@thealphanerd Sure - I haven't been able to go through each one just to double-check there's nothing odd in one of our environments that could account for the errors, but currently on Win7/2012 on x86/64 we're seeing -

Failure:

  1. glob@latest
  2. rimraf@latest
  3. vinyl@latest
  4. binary-split@latest
  5. spdy-transport@latest
  6. jsonstream@latest
  7. csv-parser@latest
  8. node-uuid@latest
  9. winston@latest

rimraf (as you might guess, I'm just heading down the list one by one) seems to have weirdness on Windows, where a lot of the file operations fail unless you run as administrator (obviously not ideal) and some other failures because of mismatching forward/backward slashes. I'll open up an issue there once I've finished looking

@MylesBorins
Copy link
Contributor

MylesBorins commented Jul 26, 2016

thanks @CurryKitten

I should be getting a windows box soon and will be able to start hunting down and helping to fix some of these failures!

@gdams
Copy link
Member

gdams commented Nov 7, 2016

I believe that some of these tests have been fixed on windows now. I will try and populate a list of current failing modules

@ghost
Copy link

ghost commented Nov 22, 2016

What is the current state of getting citgm running on Windows? I'd like to help. It seems the may mean helping other projects, no problem.

@gibfahn
Copy link
Member Author

gibfahn commented Nov 22, 2016

@phestermcs There's #230, which should help add support for windows.

We (IBM) have already been running CitGM in the Git Bash shell on Windows for about six months now, without seeing too many problems. The issue with running on CMD is mostly due to modules whose npm test uses bash-specific code.

@ghost
Copy link

ghost commented Nov 22, 2016

Thank you @gibfahn. It would appear there's a fair amount of work to get citgm running in windows, and I wouldn't be surprised if it always plays second fiddle with respect to package authors keeping their scripts working for windows. Thanks for your efforts.

I did run citgm within win10 bash shell, and it kinda worked, although one of the tests caused a segfault, and it did seem to run a bit slower. back to linux vms :)

@targos
Copy link
Member

targos commented Dec 4, 2017

I think this can be closed for now because CITGM mostly works on Windows, including with native modules.
We can open separate issues for problems with specific modules.

@targos targos closed this as completed Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants