额, 刚在 ubuntu 上部署了一下, 反正没成功 。
npm ERR!
[email protected] startx: `export NODE_ENV=production&&node ./bin/www`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the
[email protected] startx script.
npm ERR! This is most likely a problem with the zhihu-daily-reader package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! export NODE_ENV=production&&node ./bin/www
npm ERR! You can get their info via:
npm ERR! npm owner ls zhihu-daily-reader
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.19.0-25-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "run" "startx"
npm ERR! cwd /home/mart/Zhihu-Daily-Reader
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
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 ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/mart/Zhihu-Daily-Reader/npm-debug.log
npm ERR! not ok code 0