I used latest because that's what the example showed. I'll think about 
changing that.

I guess this package wasn't designed to be used in the way I thought. Next 
time I see that error I'll just look for another package. 

Thank you for your insights. I really appreciated it. 

Regards,
Steve

On Friday, February 27, 2015 at 6:56:55 PM UTC-8, Aria Stewart wrote:
>
>
> > On 27 Feb 2015, at 19:01, Steve Husting <[email protected] 
> <javascript:>> wrote: 
> > 
> > Thank you for replying. 
> > 
> > I ran locally: npm install html5-lint 
> > 
> > Contents of package.json are (this validates): 
> > 
> > { 
> >     "name": "npmTest", 
> >     "devDependencies": { 
> >         "jshint": "latest", 
> >         "optimg": "latest", 
> >         "jpgo": "latest", 
> >         "css-validator": "latest", 
> >         "css-prettifier": "latest", 
> >         "ycssmin": "latest", 
> >         "html5-lint": "latest" 
>
> Goodness. These should probably be "^thelatestmajor" not "latest" (where 
> thelatestmajor is the major version number of each dependency) -- this will 
> break in the future when someone publishes new, incompatible versions. 
>
> But the problem is html5-lint -- it doesn't export a bin, an actual tool 
> to use -- and it looks like that script doesn't exist at all. It's not a 
> command line tool you can use, but a library you can require. See its 
> README: 
>
> https://github.com/mozilla/html5-lint 
>
> Aria

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/3cc4b696-9d72-4294-a955-5fe5cef48582%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to