Is anyone contributing source code using Windows?

I’ve cloned down the repo to run tests and get a little familiar with the project by hacking on it, but I’ve run into several errors trying to get things to work. At first I couldn’t get the tests to run at all. I was getting this error:

No coverage information was collected, exit without writing coverage information
C:\Users\Abdur\Projects\Node\serverless\node_modules\.bin\_mocha.CMD:1
(function (exports, require, module, __filename, __dirname) { @IF EXIST "%~dp0\node.exe" (
                                                          ^

SyntaxError: Unexpected token ILLEGAL
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Object.Module._extensions.(anonymous function) [as .js] (C:\Users\Abdur\Projects\Node\serverless\node_modules\istanbul\lib\hook.js:109:37)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at runFn (C:\Users\Abdur\Projects\Node\serverless\node_modules\istanbul\lib\command\common\run-with-cover.js:122:16)
    at C:\Users\Abdur\Projects\Node\serverless\node_modules\istanbul\lib\command\common\run-with-cover.js:251:17
    at C:\Users\Abdur\Projects\Node\serverless\node_modules\istanbul\lib\util\file-matcher.js:68:16
 npm ERR! Test failed.  See above for more details.

But I found that it was because of this issue and I needed to correct it by making the path to _mocha relative in the npm test script in package.json like so:

// package.json
...
"scripts": {
    "test": "istanbul cover node_modules/mocha/bin/_mocha tests/all -- -R spec --recursive",
    "lint": "eslint .",
    "integration-test": "mocha tests/integration_test"
  },

So I fixed that and was able to run the tests, but then I had 4 tests fail:

  382 passing (2s)
  4 failing

  1) #zipService() should zip a whole service:
     TypeError: Cannot read property 'name' of undefined
      at C:\Users\Abdur\Projects\Node\serverless\lib\plugins\package\tests\zipService.js:88:49

  2) #zipService() should keep file permissions:
     TypeError: Cannot read property 'unixPermissions' of undefined
      at C:\Users\Abdur\Projects\Node\serverless\lib\plugins\package\tests\zipService.js:123:49

  3) #zipService() should exclude defined files and folders:
     TypeError: Cannot read property 'name' of undefined
      at C:\Users\Abdur\Projects\Node\serverless\lib\plugins\package\tests\zipService.js:170:49

  4) #zipService() should include a previously excluded file:
     TypeError: Cannot read property 'name' of undefined
      at C:\Users\Abdur\Projects\Node\serverless\lib\plugins\package\tests\zipService.js:231:49

So now I’m wondering if anyone that is contributing, is doing so on a Windows machine. If not, I would love to be the first!

BTW, I’m running Windows 8.1, Node 4.4, NPM 2.15.1

At the moment nobody in the core team is using Windows, though we definitely want Serverless to run on Windows as well. If you could raise those issues in the repo so we can fix them there that would be great!

Have you been able to get this running on Windows ?.
I cloned the repository on Windows, but get a different error ‘test.js was not expected’. Tried the same on my mac, and there the ‘npm test’ runs successfully after simply doing a clone and ‘npm install’.
I’m using Windows 10, npm 3.10.9, Node 6.9.2.