Open lightrain125 opened 6 years ago
What steps have you taken to get this far, what is the full error you are getting?
Have you installed node first in the opentrade dir?
i complete step
udo apt-get update sudo apt-get install build-essential libssl-dev curl -y curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh bash install_nvm.sh sudo reboot
nvm install 6.0.0
git clone https://github.com/3s3s/opentrade.git cd opentrade
sudo npm install
mkdir ~/opentrade/server/database
I have not installed the first node.
Hi you can try "nodejs main.js" instead, but VULTR is bad provider for OpenTrade anyway... Vultr is blocking outgoing SMTP connections so OpenTrade will not to send emails and it will be impossible to complete registration
Help me
/root/opentrade/node_modules/sendmail/sendmail.js:1 (function (exports, require, module, filename, dirname) { const {createConnection} = require('net'); ^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.
Try re-cloning with a new update. If that does not work, contact me on my Discord: https://discord.gg/fEYMcvX
dont use sudo without sudo run command node main.js and if you see these errors
/root/opentrade/node_modules/sendmail/sendmail.js:1 (function (exports, require, module, filename, dirname) { const {createConnection} = require('net'); ^
SyntaxError: Unexpected token { at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (/root/opentrade/server/modules/mailer.js:4:18) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10)
run command killall node
and after run nohup node main.js &
go browser
neded nvm install 8.0 - 8.12
Hello, i setup but error.
root@vultr:~# cd ~/opentrade/server root@vultr:~/opentrade/server# sudo node main.js sudo: node: command not found root@vultr:~/opentrade/server#
Please help me. thanks