GithubHelp home page GithubHelp logo

grunt-node-tap's People

Contributors

eviltrout avatar m5m1th avatar maxnachlinger avatar

Stargazers

 avatar

Watchers

 avatar  avatar

grunt-node-tap's Issues

tapPath doesn't point to tap

When I first installed this library I had already included tap as a dependency in my project and therefore npm doesn't install tap under node_modules/grunt-node-tap/node_modules/. grunt-node-tap uses require properly and node knows where to find it without any issues. However it looks like the variable tapPath in lib/nodeTap.js expects tap to be located under its own node_modules folder. When it attempts to spawn the child process later on(line 84), the command doesn't seem to be available and it's never run. grunt-node-tap then receives no response and reports 0/0 tests run for each file listed.

I was able to get around this by removing my tap dependency before installing grunt-node-tap and then re-adding it. This places the tap dependency in both node_modules folders.

Any idea on how to fix the path issue? I tried looking around for a solution but I'm not really sure how the childprocess methods work.

ENOENT Error since >0.1.46

http://github.com/evilstreak/markdown-js worked with v0.1.46. However since 0.1.48 up we've been getting ENOENT errors. when trying to invoke grunt directly:

% ./node_modules/.bin/grunt all
Running "node_tap:default_options" (node_tap) task
Fatal error: spawn ENOENT

Interestingly:

% PATH=./node_modules/.bin/:$PATH ./node_modules/.bin/grunt
Running "node_tap:default_options" (node_tap) task
Stats: ./test/features.t.js: 196/196
Stats: ./test/html_renderer.t.js: 2/2
Stats: ./test/interface.t.js: 3/3
Stats: ./test/regressions.t.js: 83/83
...

Is this a bug in grunt-node-tap? Problem with our setup?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.