Giter Club home page Giter Club logo

Comments (8)

vesturo avatar vesturo commented on July 17, 2024 1

Nevermind, another error I can't explain now.

Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0 x86_64)

SyntaxError: Unexpected token function
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
root@localhost:/cross#

from cross-server-bot.

bsian03 avatar bsian03 commented on July 17, 2024

You're trying to start the bot using the node package manager... that is not what you want.
node file.js is what you need to run to start a node process.
I'd highly recommend you take a look at the difference because it will get you so far in the world of development

from cross-server-bot.

vesturo avatar vesturo commented on July 17, 2024

.... I feel retarded right now... Thanks haha how tf did I not figure that out LOL

from cross-server-bot.

bsian03 avatar bsian03 commented on July 17, 2024

Run node -v and tell me what it gives you

from cross-server-bot.

vesturo avatar vesturo commented on July 17, 2024

V.2.4.6 is the only output

from cross-server-bot.

bsian03 avatar bsian03 commented on July 17, 2024

You're on a very old version of node.

from cross-server-bot.

bsian03 avatar bsian03 commented on July 17, 2024

There's been up to 10 major updates to node compared to the version you're using

from cross-server-bot.

Khaaz avatar Khaaz commented on July 17, 2024

Yeah this issue is in no way related to this project but with your node / ubuntu install.
I am closing this now, we continued to take care of this in our support server anyway.

from cross-server-bot.

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.