Problem node site.js


Hello. Im working on a Counter Strike Global Offensive gambling site. When im trying to node site.js to get it online it does not work . Ive check everything that it links up to my sql server. Any solutions?

Error message in putty.

root@csgoexpense:~# node site.js
throw err;
Error: Cannot find module '/root/site.js’
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3


This is very curious. Without seeing your actual code, this looks like either you’re trying to start site.js from a different folder or your environment has a configuration issue.

I don’t know a lot about PuTTY, so hopefully, my bump will also put it in view of some with more experience on it.