root@monerobux:~/byteballcore# apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (4.2.6~dfsg-1ubuntu4.1).
0 upgraded, 0 newly installed, 0 to remove and 114 not upgraded.
root@monerobux:~/byteballcore# apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
npm is already the newest version (3.5.2-0ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 114 not upgraded.
root@monerobux:~/byteballcore# cd ../headless-byteball/
root@monerobux:~/headless-byteball# ls byteballcore/
README.md event_bus.js package.json
balances.js graph.js paid_witnessing.js
bots.js headers_commission.js parent_composer.js
breadcrumbs.js indivisible_asset.js private_payment.js
byteball-sqlite-light.sql initial.byteball-light.sqlite profiler.js
byteball-sqlite.sql initial.byteball.sqlite signature.js
byteball.sql joint_storage.js sqlite_migrations.js
catchup.js light.js sqlite_pool.js
chash.js light.sql storage.js
chat_storage.js light_wallet.js uri.js
check_daemon.js mail.js validation.js
composer.js main_chain.js validation_utils.js
conf.js mc_outputs.js wallet.js
[b]constants.js [/b] merkle.js wallet_defined_by_addresses.js
db.js mutex.js wallet_defined_by_keys.js
definition.js my_witnesses.js wallet_general.js
desktop_app.js mysql_pool.js witness_proof.js
device.js network.js writer.js
divisible_asset.js object_hash.js
enforce_singleton.js object_length.js
root@monerobux:~/headless-byteball# node start.js
-bash: node: command not found
root@monerobux:~/headless-byteball# nodejs start.js
module.js:328
throw err;
^
Error: Cannot find module 'byteballcore/constants.js'
at Function.Module._resolveFilename (module.js:326:15)
at Function.Module._load (module.js:277:25)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.
(/root/headless-byteball/start.js:6:17)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
root@monerobux:~/headless-byteball#I have to run "nodejs" not just "node" using this ubuntu server. That's the same thing, right? Seems like yes (
), just checking tho...
Actually just tried to run "npm install" again and it's not finishing cleanly it seems: