browserify-incremental
browserify-incremental copied to clipboard
Missing file `usage.txt`
I just installed [email protected]
using npm install browserify-incremental
and running it throws an error about a missing usage.txt
file:
$./node_modules/browserify-incremental/bin/cmd.js
events.js:85
throw er; // Unhandled 'error' event
^
Error: ENOENT, open 'node_modules/browserify-incremental/bin/usage.txt'
at Error (native)
Why are you running it like that? It's a command line tool.
- Install it globally:
npm install -g browserify-incremental
- Run it anywhere:
browserifyinc [options]
Same issue here. I would like to create an npm script into package.json
. For example:
...
"scripts": {
"build": "browserifyinc --help"
},
...
And then run: npm run build
However it cannot find usage.txt.
I have the same issue, not usable at this point.
@stevenpetryk Well, not everyone like to install everything globally. You should be able to install cli's locally as well, because not all projects might require it. I prefer installing dependencies where they are being used instead of globally, and I'm sure I'm not alone.
I agree about not installing globally, but you should be running command-line tools from node_modules/.bin
rather than reaching into the individual node module directory. That seems to be working for me.
This can be closed