Code Monkey home page Code Monkey logo

Comments (5)

maierfelix avatar maierfelix commented on June 19, 2024

Seems like not a pogoserver related issue

from pogoserver.

xomikronx avatar xomikronx commented on June 19, 2024

@maierfelix any suggestions?

So I am able to install node-babel, I'm not an expert, but I don't know if it's the same package just named differently because of distro. I tried symlinking it to babel-node, which removes the error, but just hangs like this:

`> [email protected] start /var/www/MyDOMAIN/POGOserver

nodemon --exec npm run babel-node -- ./src/index.js

[nodemon] 1.10.0
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting npm run babel-node ./src/index.js
[nodemon] clean exit - waiting for changes before restart`

from pogoserver.

durankeeley avatar durankeeley commented on June 19, 2024

Here is a step by step CentOS-7 Install guide

1st Install dependencies and update

sudo vim /etc/yum.repos.d/mongodb.repo

you can also use nano if you prefer over vim of course using:

sudo yum -y install nano
sudo nano /etc/yum.repos.d/mongodb.repo

paste the below
[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1

sudo yum -y update
sudo yum -y install epel-release
sudo yum -y install git nodejs npm mongodb-org mongodb-org-server wget

2nd Update Node & npm

wget https://github.com/taaem/nodejs-linux-installer/releases/download/v0.3/node-install.sh && sudo sh node-install.sh

Reboot to apply new NodeJS version

sudo reboot
curl -L https://www.npmjs.com/install.sh | sudo sh

3rd Download & install POGOserver & start MongoDB

sudo systemctl start mongod
git clone https://github.com/maierfelix/POGOserver.git
cd POGOserver
sh run-linux.sh

NOTE

The problem you are having is you are using the epel versions of NodeJS & npm which are out of date.
You could most likely start from 2 and it would work but best to have the full instructions up here for anyone else. If you don't redownload the git remember to run

rm -rf node_modules && npm install

as the node_modules will be for the out of date version.

from pogoserver.

xomikronx avatar xomikronx commented on June 19, 2024

For some reason the steps provided isn't installing the latest node version. Installed nodejs manually from node repos and it worked. Thanks!

from pogoserver.

durankeeley avatar durankeeley commented on June 19, 2024

@xomikronx you are right, just tested this on a fresh VM, if you run the steps in sequence then it doesn't work, however rebooting after running the update for NodeJS works. Updated the above to reflect this.

from pogoserver.

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.