Jump to content

Error node


Harli zirohd
  • Babble 2.0.1 Closed Bug

hello, we've talked here   https://invisionpower.com/messenger/191698/#comment-467535

the error is this:

node /var/www/vhosts/plataoplomo.wtf/httpdocs/forum/applications/babble/sources/Node/babble.js
module.js:442
    throw err;
    ^

Error: Cannot find module './lib/'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous>
(/var/www/vhosts/plataoplomo.wtf/httpdocs/forum/applications/babble/sources/Node/node_modules/socket.io/node_modules/engine.io/node_modules/engine.io-parser/index.js:2:18)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
root@ns309410:/home# node
/var/www/vhosts/plataoplomo.wtf/httpdocs/forum/applications/babble/sources/Node/babble.js
module.js:442
    throw err;
    ^

Error: Cannot find module './lib/'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous>
(/var/www/vhosts/plataoplomo.wtf/httpdocs/forum/applications/babble/sources/Node/node_modules/socket.io/node_modules/engine.io/node_modules/engine.io-parser/index.js:2:18)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)


User Feedback

Recommended Comments

odd, it should tar should contain all the libs for babble.js, there is a package.json, if you installed npm, try running this command in that directory:

npm install

I've attached the node_modules that i use, you can extract them to the Node folder, and try starting it again:

node babble.js

node_modules.tar.gz

  • Like 1
Link to comment
Share on other sites


×
×
  • Create New...