evilstreak / markdown-js

A Markdown parser for javascript
7.69k stars 863 forks source link

Fatal error: spawn ENOENT #174

Closed jherdman closed 10 years ago

jherdman commented 10 years ago

I just cloned this project, and when I ran grunt's default task I get the following error:

Running "node_tap:default_options" (node_tap) task
Fatal error: spawn ENOENT
jherdman commented 10 years ago

More verbose output:

Initializing
Command-line options: --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.
Reading package.json...OK
Parsing package.json...OK
Initializing config...OK

Registering "grunt-node-tap" local Npm module tasks.
Reading /Users/james/Projects/markdown-js/node_modules/grunt-node-tap/package.json...OK
Parsing /Users/james/Projects/markdown-js/node_modules/grunt-node-tap/package.json...OK
Loading "node_tap.js" tasks...OK
+ node_tap

Registering "grunt-contrib-uglify" local Npm module tasks.
Reading /Users/james/Projects/markdown-js/node_modules/grunt-contrib-uglify/package.json...OK
Parsing /Users/james/Projects/markdown-js/node_modules/grunt-contrib-uglify/package.json...OK
Loading "uglify.js" tasks...OK
+ uglify

Registering "grunt-contrib-jshint" local Npm module tasks.
Reading /Users/james/Projects/markdown-js/node_modules/grunt-contrib-jshint/package.json...OK
Parsing /Users/james/Projects/markdown-js/node_modules/grunt-contrib-jshint/package.json...OK
Loading "jshint.js" tasks...OK
+ jshint

Registering "inc/tasks" tasks.
Loading "build_markdown.js" tasks...OK
+ build, custom
Loading "Gruntfile.js" tasks...OK
+ all, default, test

No tasks specified, running default tasks.
Running tasks: default

Running "default" task

Running "all" task

Running "test" task

Running "node_tap" task

Running "node_tap:default_options" (node_tap) task
Verifying property node_tap.default_options exists in config...OK
Files: ./test/features.t.js, ./test/html_renderer.t.js, ./test/interface.t.js, ./test/regressions.t.js -> tests
Options: outputType="failures", outputTo="console"
Flags: outputType="failures", outputTo="console", files=["/Users/james/Projects/markdown-js/test/features.t.js","/Users/james/Projects/markdown-js/test/html_renderer.t.js","/Users/james/Projects/markdown-js/test/interface.t.js","/Users/james/Projects/markdown-js/test/regressions.t.js"]
Fatal error: spawn ENOENT
evilstreak commented 10 years ago

This seems to be an issue with the version of grunt-node-tap. Locking it to version 0.1.46 resolves it. For some reason versions 0.1.48 and up result in this error.

I'll find some time to look into this, but in the meantime I've updated package.json to lock to the version that works.