Giter Site home page Giter Site logo

Comments (9)

evolutionleo avatar evolutionleo commented on May 9, 2024

Sorry for late response. Have you ran the "npm install" command?

from warp.

AnachroSoft avatar AnachroSoft commented on May 9, 2024

Sorry for late response. Have you ran the "npm install" command?

No worries. I did run that and it had completed successfully. I can try running it again.

:Edit:
I ran it again. "removed 1 package and audited 42 packages in 1.548s found 0 vulnerabilities" Tried to run the server again and still getting this error.

from warp.

evolutionleo avatar evolutionleo commented on May 9, 2024

Seems like you're running it through the debugger. In theory this shouldn't be a problem, but try running it via "node ." as shown in the README

from warp.

AnachroSoft avatar AnachroSoft commented on May 9, 2024

The README doesn't actually say how to run the server. At least not in the EmptyServer.zip. However, I did try to run "node server.js" both through Windows command prompt and through VSC's command line. Both give the same error as running through the debugger. =(

from warp.

evolutionleo avatar evolutionleo commented on May 9, 2024

Oh, I think I know what's the issue. Update your NodeJS, some of the older versions didn't have the function "randomInt" in the internal module "crypto"

from warp.

evolutionleo avatar evolutionleo commented on May 9, 2024

btw the README does have the instructions under the "Running" section (https://github.com/evolutionleo/GM-Online-Framework#runnning)
It can be easy to miss accidentally though

Oh, I meant the repo's README

from warp.

evolutionleo avatar evolutionleo commented on May 9, 2024

Did that fix it?

from warp.

AnachroSoft avatar AnachroSoft commented on May 9, 2024

Oh, I think I know what's the issue. Update your NodeJS, some of the older versions didn't have the function "randomInt" in the internal module "crypto"
Did that fix it?

Sorry about that! I hadn't had a chance, yet. I'm going to try later today and get back with you ASAP.

:Edit:
Yep, that was it! I already had NodeJS installed and did try to update it before running initially, but I realized I was installing the "tool" and not NodeJS itself. That's my bad. Thank you for your help!

from warp.

evolutionleo avatar evolutionleo commented on May 9, 2024

You're welcome! Glad it helped.

You can join my Discord server if you have any other questions on the framework (even minor ones): https://discord.gg/WRsgumM2T6

from warp.

Related Issues (7)

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.