-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
No "verb" targets found #4
Comments
I just tried to trace what happens to the defaults. Inside of /node_modules/grunt-verb/tasks/verb.js I dumped
The output is below. It looks like the The
|
I was able to get it to work by setting up the verb task in the Gruntfile.js and stripping the content of .verbrc.md down so that it only references items that actually exist in the project. Gruntfile.js
.verbrc.md
|
wow, thanks so much for the detailed description and research into the problem. I'll try to look into it this weekend to see what the issue is. |
doh, I think (hope) it's as simple as updating grunt-verb to read |
No worries. Yes, aligning The issue of the default verb task not being loaded was my fault. I was calling Even with all of that sorted, I was still getting a compilation error. I traced the error down to the line
|
perfect, this is great feedback. thanks again for tracking everything down. I think I know what needs to be done to get all of it fixed |
@jonschlinkert so, is this fixed? |
Need a sanity check. The readme for grunt-verb says there is no configuration required. When I install and attempt to run the verb task without adding a config to my Gruntfile.js I get a "No verb targets found." response.
The readme also says that I can use the Verb generator to kickstart the documentation for any project, so I tried that as well, but got the same result.
I dug into grunt-verb task's code, and at the bottom it looks like the task's default config file is ".verbrc.md", but according to the output of
yo verb
it created ".verb.md".So, I tried changing my .verb.md to .verbrc.md, thinking that the task might now find the correct init file. No joy though. I still get the "No verb targets found." response.
There are some grunt tasks (like grunt-build-number) that require an entry in the Gruntfile.js even when you don't alter the defaults. So, I tried adding a verb block....
And running task again produces...
This time around, the verb task was found, and it tried to run, but it didn't find any files in its default options, so I tried to set some up...
And now I get an error 'test/fixtures/comment.tmpl.md' not existing.
I checked the verbrc.md and found no reference to 'test/fixtures/comment.tmpl.md', so I'm assuming that error was thrown from inside the verb module.
This is where I'm at now. Have I gone through the steps incorrectly?
The text was updated successfully, but these errors were encountered: