Jump to content

Recommended Posts

Posted

Short question how to install the script I have tried everything but not done I have no idea how it is with npm. Repear very nice if someone helps me :/

Posted (edited)
20 hours ago, RACU said:

Short question how to install the script I have tried everything but not done I have no idea how it is with npm. Repear very nice if someone helps me :/

NPM is installed with NodeJS.
Just download and install NodeJS: https://nodejs.org/en/

 

After that you can download this project and extract it inside the folder: RAGEMP\server-files
Open cmd (Command Prompt) with admin rights and go to your folder:

cd c:\folder-where-you-installed-ragemp\RAGEMP\server-files

Run npm i to install all packages needed:

npm i


Continue the installation from Step 4 of the guide: https://github.com/MarkCavalli/rageserver 

Thats'all !

P.S.:
At Step 4, you have to install the database. This project uses MySQL as database. If you don't have it, you will need to install and config it. You can install MySQL alone or you can install a complete web package for easier management if you don't have much experience. If that's the case, I suggest you use wamp server: http://www.wampserver.com/en/
it will install more things than just MySQL, as apache and php too, but its really easy deal with wamp ;)

Edited by joew
Posted
4 hours ago, Moma said:

where put folders in app folder(server and client)??

 

Extract all files and folders to: RAGEMP\server-files

  • Like 1
Posted

@MarkCavalli hello, is there any way to look for a specific warning code according to the server console? I attached my warning in case you know how to tell me how, i dont know how to find it 

 

(node:14228) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token u in JSON at position 0
    at JSON.parse (<anonymous>)
    at new e.exports (E:\Juegos\RAGEMP\server-files\packages\RP\index.js:1:3002)
    at new e.exports (E:\Juegos\RAGEMP\server-files\packages\RP\index.js:1:55177)
    at new r (E:\Juegos\RAGEMP\server-files\packages\RP\index.js:1:88541)
    at E:\Juegos\RAGEMP\server-files\packages\RP\index.js:1:89045
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:14228) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:14228) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

 

Posted (edited)

 


Unfortunately, the login does not work for me, for example, if I want to send me an email because of code then the server stürtz. And if I start server then that comes:

 

 

 

 

DATABASE IS WORKING
{ Error: Invalid login: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials f204sm123876350wme.18 - gsmtp
    at SMTPConnection._formatError (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:781:19)
    at SMTPConnection._actionAUTHComplete (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:1516:34)
    at SMTPConnection._responseActions.push.str (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:554:26)
    at SMTPConnection._processResponse (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:940:20)
    at SMTPConnection._onData (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:746:14)
    at TLSSocket.SMTPConnection._onSocketData (C:\RAGEMP\server-files\node_modules\nodemailer\lib\smtp-connection\index.js:189:46)
    at TLSSocket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at TLSSocket.Readable.push (_stream_readable.js:219:10)
  code: 'EAUTH',
  response:
   '535-5.7.8 Username and Password not accepted. Learn more at\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials f204sm123876350wme.18 - gsmtp',
  responseCode: 535,
  command: 'AUTH PLAIN' }

Can you help me?

@joew

Edited by RACU
Falsches Thema
Posted
11 час назад, Sakatum сказал:

hello, is there any way to look for a specific warning code according to the server console? I attached my warning in case you know how to tell me how, i dont know how to find it 

You can use npm run watch to see full paths of errors

5 часов назад, RACU сказал:

Is it possible to deactivate this with the e-mail?

all is possible 😃 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...