S
S
Space2014-02-28 00:49:47
Node.js
Space, 2014-02-28 00:49:47

Can't run nodejs script

Hello. I have nodeJs on my vps. Everything was fine, but now I reinstalled it and now I can’t run more than one script. Gives an error message.
module.js:340
throw err;
^
Error: Cannot find module '/root/bserver.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3
WAY I already did different. And in the node folder.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Space, 2014-02-28
@ruslite

I decided

S
Sergey, 2014-02-28
Protko @Fesor

bserver - maybe it ate the letter `o` and it should have been `observer`? Well they say in the script. And it's not good to sit under the root.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question