GithubHelp home page GithubHelp logo

Comments (11)

ghostnegotiator avatar ghostnegotiator commented on July 17, 2024

Your currently using old modules,

Update them trough:

npm install
npm install zenbrain

Otherwise use:

sh update.sh

from zenbot.

ToX82 avatar ToX82 commented on July 17, 2024

Wow fast! Thanks :)

I did it, but nothing has changed:

tox@portatilone:~/Scrivania/zenbot$ npm install
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.

tox@portatilone:~/Scrivania/zenbot$ npm install zenbrain
[email protected] /home/tox/Scrivania/zenbot
└─┬ [email protected]      (git+https://github.com/carlos8f/zenbrain.git#e3d5b6430da645f44a420007fb90d34753ee67cf)
  └── [email protected]      (git+https://github.com/carlos8f/numbro.git#e6e9a0d5f4c32939a7c19cf1546c7766b38cd31f)

npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
tox@portatilone:~/Scrivania/zenbot$ ./run.sh 
/home/tox/Scrivania/zenbot/node_modules/bindings/bindings.js:83
    throw e
    ^

Error: Module version mismatch. Expected 48, got 46.
at Error (native)
at Object.Module._extensions..node (module.js:568:18)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at bindings (/home/tox/Scrivania/zenbot/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/home/tox/Scrivania/zenbot/node_modules/microtime/index.js:1:96)
at Module._compile (module.js:541:32)

from zenbot.

ToX82 avatar ToX82 commented on July 17, 2024

I have tried with ./update.sh too, but the local repository is Already up-to-date

from zenbot.

ghostnegotiator avatar ghostnegotiator commented on July 17, 2024

Could you re create your config.json? (Since it updated a several times :) )

from zenbot.

carlos8f avatar carlos8f commented on July 17, 2024

Error: Module version mismatch. Expected 48, got 46.

Means you compiled microtime module on a different version of node than you're running now.

cd /home/tox/Scrivania/zenbot
rm -Rf node_modules
npm install

should fix it

from zenbot.

ToX82 avatar ToX82 commented on July 17, 2024

Reinstalled node modules, now the error is

tox@portatilone:~/Scrivania/zenbot$ ./run.sh 
/home/tox/Scrivania/zenbot/node_modules/mongodb/lib/mongo_client.js:210
      throw err
      ^

ReferenceError: cb is not defined
at /home/tox/Scrivania/zenbot/node_modules/zenbrain/core/launcher/launcher.js:17:18
at /home/tox/Scrivania/zenbot/node_modules/motley/hooks/runMount.js:5:25
at /home/tox/Scrivania/zenbot/node_modules/motley/hooks/runBoot.js:4:23
at /home/tox/Scrivania/zenbot/node_modules/motley/hooks/runHook.js:5:23
at end (/home/tox/Scrivania/zenbot/node_modules/run-series/index.js:8:15)
at done (/home/tox/Scrivania/zenbot/node_modules/run-series/index.js:11:10)
at each (/home/tox/Scrivania/zenbot/node_modules/run-series/index.js:16:43)
at /home/tox/Scrivania/zenbot/node_modules/motley-mongo/db/connectMongo.js:7:23
at connectCallback (/home/tox/Scrivania/zenbot/node_modules/mongodb/lib/mongo_client.js:300:5)
at /home/tox/Scrivania/zenbot/node_modules/mongodb/lib/mongo_client.js:207:11

:(

from zenbot.

grigio avatar grigio commented on July 17, 2024

@ToX82 now it's mongodb unavailable @ localhost:27017 see config.js

from zenbot.

ToX82 avatar ToX82 commented on July 17, 2024

@grigio you were right, I was actually missing something in my mongodb installation... thank you all!

from zenbot.

grigio avatar grigio commented on July 17, 2024

Maybe it's worth to catch this exception in zenbrain/core/launcher/launcher.js:17:18 and print some more informative output

from zenbot.

carlos8f avatar carlos8f commented on July 17, 2024

should be throw err, fixed in zenbrain/zenbot master

from zenbot.

carlos8f avatar carlos8f commented on July 17, 2024

Zenbot 4 is out, so I'm cleaning up 3.x issues. Please use and test 4, thanks!

from zenbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.