when trying to install Dillinger I get a pahntomjs error :
npm info install phantomjs@1.9.20
> phantomjs@1.9.20 install /var/www/dillinger/node_modules/phantomjs
> node install.js
sh: 1: node: not found
npm info phantomjs@1.9.20 Failed to exec install script
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm info preuninstall phantomjs@1.9.20
npm info uninstall phantomjs@1.9.20
npm info postuninstall phantomjs@1.9.20
npm ERR! phantomjs@1.9.20 install: `node install.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the phantomjs@1.9.20 install script.
npm ERR! This is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.16.0-4-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "i" "-d"
npm ERR! cwd /var/www/dillinger
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
This line npm WARN This failure might be due to the use of legacy binary "node" call me out.
and at the end of /usr/share/doc/nodejs/README.Debian I can read :
nodejs command
--------------
The upstream name for the Node.js interpreter command is "node".
In Debian the interpreter command has been changed to "nodejs".
This was done to prevent a namespace collision: other commands use
the same name in their upstreams, such as ax25-node from the "node"
package.
Scripts calling Node.js as a shell command must be changed to instead
use the "nodejs" command.
Hi,
when trying to install Dillinger I get a pahntomjs error :
This line
npm WARN This failure might be due to the use of legacy binary "node"
call me out.and at the end of
/usr/share/doc/nodejs/README.Debian
I can read :Is that the reason ?