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

consider using in glob-fs #1

Open
jonschlinkert opened this issue Oct 2, 2016 · 5 comments
Open

consider using in glob-fs #1

jonschlinkert opened this issue Oct 2, 2016 · 5 comments

Comments

@jonschlinkert
Copy link
Member

I still don't know how well this will perform cross-platform. Once we get appveyor hooked up and more coverage we can review

@ghost
Copy link

ghost commented Oct 12, 2016

@jonschlinkert This isn't working on the Windows plattform at all. Any ideas how I can get it to work? Only Windows 10 have a option to install Ubuntu sub-system.
Windows 8 and older this doesn't work.
Only way to get this working is on Windows 10 with git software. Ideas??

@ghost
Copy link

ghost commented Oct 12, 2016

@jonschlinkert Here are a few errors that I get. How to fix this?

 1) files event should not return duplicate matches:
     Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
      at Function.<anonymous> (test\events.files.js:31:7)
      at Function.Emitter.emit (node_modules\component-emitter\index.js:133:20)
      at Function.glob.end (index.js:213:8)
      at Function.glob.sync (index.js:204:8)
      at index.js:156:29
      at Array.reduce (native)
      at Function.glob.sync (index.js:155:20)
      at Context.<anonymous> (test\events.files.js:34:10)

  2) match event should not return duplicate matches:
     Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.

 3) options.cwd cwd globbing no matches:

      Uncaught AssertionError: should have same files of matches
      + expected - actual

       [
         "\u0000"
      -  "\u0000\r\u0000\r\u0000"
         "\u0000P\u0000r\u0000e\u0000s\u0000s\u0000 \u0000a\u0000n\u0000y\u0000 \u0000k\u0000e\u0000y\u0000 \u0000t\u0000o\u0000 \u0000c\u0000o\u0000n\u0000t\u0000i\u0000n\u0000u\u0000e\u0000.\u0000.\u0000.\u0000\r\u0000\r\u0000"
      -  "\u0000T\u0000h\u0000e\u0000 \u0000L\u0000X\u0000 \u0000s\u0000u\u0000b\u0000s\u0000y\u0000s\u0000t\u0000e\u0000m\u0000 \u0000h\u0000a\u0000s\u0000 \u0000a\u0000n\u0000 \u0000i\u0000n\u0000s\u0000t\u0000a\u0000l\u0000l\u0000,\u0000 \u0000u\u0000n\u0000i\u0000n\u0000s\u0000t\u0000a\u0000l\u0000l\u0000,\u0000 \u0000o\u0000r\u0000 \u0000s\u0000e\u0000r\u0000v\u0000i\u0000c\u0000i\u0000n\u0000g\u0000 \u0000o\u0000p\u0000e\u0000r\u0000a\u0000t\u0000i\u0000o\u0000n\u0000 \u0000p\u0000e\u0000n\u0000d\u0000i\u0000n\u0000g\u0000.\u0000\r\u0000\r\u0000"
      -  "\u0000T\u0000h\u0000i\u0000s\u0000 \u0000w\u0000i\u0000l\u0000l\u0000 \u0000i\u0000n\u0000s\u0000t\u0000a\u0000l\u0000l\u0000 \u0000U\u0000b\u0000u\u0000n\u0000t\u0000u\u0000 \u0000o\u0000n\u0000 \u0000W\u0000i\u0000n\u0000d\u0000o\u0000w\u0000s\u0000,\u0000 \u0000d\u0000i\u0000s\u0000t\u0000r\u0000i\u0000b\u0000u\u0000t\u0000e\u0000d\u0000 \u0000b\u0000y\u0000 \u0000C\u0000a\u0000n\u0000o\u0000n\u0000i\u0000c\u0000a\u0000l\u0000\r\u0000\r\u0000"
      -  "\u0000a\u0000n\u0000d\u0000 \u0000l\u0000i\u0000c\u0000e\u0000n\u0000s\u0000e\u0000d\u0000 \u0000u\u0000n\u0000d\u0000e\u0000r\u0000 \u0000i\u0000t\u0000s\u0000 \u0000t\u0000e\u0000r\u0000m\u0000s\u0000 \u0000a\u0000v\u0000a\u0000i\u0000l\u0000a\u0000b\u0000l\u0000e\u0000 \u0000h\u0000e\u0000r\u0000e\u0000:\u0000 \u0000\r\u0000\r\u0000"
      -  "\u0000h\u0000t\u0000t\u0000p\u0000s\u0000:\u0000/\u0000/\u0000a\u0000k\u0000a\u0000.\u0000m\u0000s\u0000/\u0000u\u0000o\u0000w\u0000t\u0000e\u0000r\u0000m\u0000s\u0000\r\u0000\r\u0000"
      -  "-\u0000-\u0000 \u0000B\u0000e\u0000t\u0000a\u0000 \u0000f\u0000e\u0000a\u0000t\u0000u\u0000r\u0000e\u0000 \u0000-\u0000-\u0000 \u0000\r\u0000\r\u0000"
         "C\u0000a\u0000n\u0000n\u0000o\u0000t\u0000 \u0000l\u0000a\u0000u\u0000n\u0000c\u0000h\u0000 \u0000b\u0000a\u0000s\u0000h\u0000 \u0000b\u0000e\u0000c\u0000a\u0000u\u0000s\u0000e\u0000 \u0000t\u0000h\u0000e\u0000 \u0000L\u0000X\u0000 \u0000s\u0000u\u0000b\u0000s\u0000y\u0000s\u0000t\u0000e\u0000m\u0000 \u0000h\u0000a\u0000s\u0000 \u0000a\u0000n\u0000 \u0000i\u0000n\u0000s\u0000t\u0000a\u0000l\u0000l\u0000,\u0000 \u0000u\u0000n\u0000i\u0000n\u0000s\u0000t\u0000a\u0000l\u0000l\u0000,\u0000 \u0000o\u0000r\u0000 \u0000s\u0000e\u0000r\u0000v\u0000i\u0000c\u0000i\u0000n\u0000g\u0000 \u0000o\u0000p\u0000e\u0000r\u0000a\u0000t\u0000i\u0000o\u0000n\u0000 \u0000p\u0000e\u0000n\u0000d\u0000i\u0000n\u0000g\u0000.\u0000\r\u0000\r\u0000"
      -  "P\u0000r\u0000e\u0000s\u0000s\u0000 \u0000a\u0000n\u0000y\u0000 \u0000k\u0000e\u0000y\u0000 \u0000t\u0000o\u0000 \u0000c\u0000o\u0000n\u0000t\u0000i\u0000n\u0000u\u0000e\u0000.\u0000.\u0000.\u0000\r\u0000\r\u0000"
       ]

      at Function.<anonymous> (test\events.match.js:32:14)
      at Function.on (node_modules\component-emitter\index.js:65:8)
      at Function.Emitter.emit (node_modules\component-emitter\index.js:133:20)
      at Function.glob.end (index.js:213:8)
      at index.js:68:26
      at ChildProcess.<anonymous> (index.js:252:7)
      at ChildProcess.cp.emit (node_modules\cross-spawn\lib\enoent.js:40:29)
      at maybeClose (internal/child_process.js:877:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)


 11) options.nonull a/*NOFILE*/**/ { nonull: true }:

      AssertionError: sync results
      + expected - actual

       [
      -  "\u0000"
      -  "\u0000P\u0000r\u0000e\u0000s\u0000s\u0000 \u0000a\u0000n\u0000y\u0000 \u0000k\u0000e\u0000y\u0000 \u0000t\u0000o\u0000 \u0000c\u0000o\u0000n\u0000t\u0000i\u0000n\u0000u\u0000e\u0000.\u0000.\u0000.\u0000\r\u0000\r\u0000"
      -  "C\u0000a\u0000n\u0000n\u0000o\u0000t\u0000 \u0000l\u0000a\u0000u\u0000n\u0000c\u0000h\u0000 \u0000b\u0000a\u0000s\u0000h\u0000 \u0000b\u0000e\u0000c\u0000a\u0000u\u0000s\u0000e\u0000 \u0000t\u0000h\u0000e\u0000 \u0000L\u0000X\u0000 \u0000s\u0000u\u0000b\u0000s\u0000y\u0000s\u0000t\u0000e\u0000m\u0000 \u0000h\u0000a\u0000s\u0000 \u0000a\u0000n\u0000 \u0000i\u0000n\u0000s\u0000t\u0000a\u0000l\u0000l\u0000,\u0000 \u0000u\u0000n\u0000i\u0000n\u0000s\u0000t\u0000a\u0000l\u0000l\u0000,\u0000 \u0000o\u0000r\u0000 \u0000s\u0000e\u0000r\u0000v\u0000i\u0000c\u0000i\u0000n\u0000g\u0000 \u0000o\u0000p\u0000e\u0000r\u0000a\u0000t\u0000i\u0000o\u0000n\u0000 \u0000p\u0000e\u0000n\u0000d\u0000i\u0000n\u0000g\u0000.\u0000\r\u0000\r\u0000"
      +  "a/*NOFILE*/**/"
       ]

      at Context.<anonymous> (test\options.nonull.js:36:14)

@ghost ghost mentioned this issue Oct 12, 2016
@jonschlinkert
Copy link
Member Author

Only way to get this working is on Windows 10 with git software.

You don't need git, you need bash installed. I don't know how to get that running on older windows

@ghost
Copy link

ghost commented Oct 12, 2016

I know you would need to install bash, and home I can do that, but not on the company computers. So I will just keep an eye on this repo and see if there will be an fix in the future.

@jonschlinkert
Copy link
Member Author

So I will just keep an eye on this repo and see if there will be an fix in the future.

we're working on it now, @doowb setup a virtual windows box and is helping me look into solutions. we'll keep you posted

@micromatch micromatch locked and limited conversation to collaborators Oct 17, 2016
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

1 participant