I am using Ubuntu 14.04 and installed nodejsand npmusing:
sudo apt-get install nodejs npm
Then I made a symlink to allow packages to use the interpreter node(instead nodejs):
sudo ln -s /usr/bin/nodejs /usr/local/bin/node
I installed coffee-script(for testing purposes) and my own package mangarackwith:
sudo npm -g install coffee-script mangarack
When I started coffee(part coffee-script), this package will work fine. If I run mangarack, I will get:
: No such file or directory.
I have the following in mine package.json:
"bin": {
"mangarack": "./bin/mangarack"
},
And this file contains:
require('../lib/cli/index');
, coffee-script, , require , console.log, , node. . -configure, Linux- ?
: