cd ~/filepizza
npm install
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated bittorrent-dht@3.2.6: Critical security issue fixed in 5.1.3. All users should upgrade. (More info: https://github.com/feross/bittorrent-dht/issues/87)
Aand also
root@scw-:~/filepizza# npm build
root@scw-:~/filepizza# npm start
> filepizza@1.0.0 start /root/filepizza
> node ./dist/index.js
module.js:491
throw err;
^
Error: Cannot find module '/root/filepizza/dist/index.js'
at Function.Module._resolveFilename (module.js:489:15)
at Function.Module._load (module.js:439:25)
at Function.Module.runMain (module.js:609:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:598:3
npm ERR! Linux 4.4.38-std-1
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! filepizza@1.0.0 start: `node ./dist/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the filepizza@1.0.0 start script 'node ./dist/index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the filepizza package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./dist/index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs filepizza
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls filepizza
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/filepizza/npm-debug.log
Aand also
:)