Tuesday, 9 May 2017

jshint should pass for working directory

I'm learning node and currently in the middle of the following tutorial: http://mherman.org/blog/2016/09/25/node-passport-and-postgres/#.WRE8MonytZo

When I run npm test I'm getting the following error:

  1) jshint should pass for working directory:
     Error: Command failed: git log --pretty=format:%h --max-count=3
fatal: Not a git repository (or any of the parent directories): .git

      at ChildProcess.exithandler (child_process.js:205:12)
      at maybeClose (internal/child_process.js:899:16)
      at Socket.<anonymous> (internal/child_process.js:342:11)
      at Pipe._handle.close [as _onclose] (net.js:510:12)



npm ERR! Test failed.  See above for more details.

Any advice on what's going on here? the above isn't pointing me in the right direction or yielding helpful google search results.

Thanks



via AnApprentice

No comments:

Post a Comment