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"
    },
    "scripts": {
        "lint": "jshint **.js",
        "png": "optimg",
        "jpg": "jpgo",
        "cssm": "ycssmin **.css",
        "cssv": "css-validator **.css",
        "cssp": "css-prettifier **.css",
        "html": "html5-lint **.html"
    }
}

I see that it appears in /node_modules but not in its /.bin folder. So I 
guess the problem is there. Not sure what to do next. 

Thanks!


On Friday, February 27, 2015 at 2:08:56 PM UTC-8, Aria Stewart wrote:
>
>
> On Feb 26, 2015, at 6:39 PM, Steve Husting <[email protected] 
> <javascript:>> wrote:
>
> npm and Nodejs are closely related to this newcomer, so I wonder if this 
> is the place to ask about npm error messages. 
>
>
> It is, though you may want to talk to the npm support channels too. Lots 
> of options there.
>
>
> For instance, when I use *npm run xxx *command to execute a script in 
> package.json, what does it mean when I get the following error lines?
>
> npm successfully installed the package (this error applies to around 5-6 
> packages), as I can see by looking into my cordova project's /node_module 
> folder. The error relates to "command not found," but I don't understand 
> why because the package folder (/html5-lint) is in node_modules. 
>
>
> Look in node_modules/.bin/ -- the command should be there.
>
> Does html5-lint actually export a bin file?
>
> What's the command in package.json you're running?
>
> 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/c37c622c-033f-494e-871b-58863bb0ac97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to