Jump to content

Recommended Posts

Posted (edited)

Hello first thank you for your work. For me, the problem is that everything works Server is running he wants to connect and then comes the following error message https://prnt.sc/m2d79p I do not know what went wrong there However, the described file is present at this location

Edited by D3rinsid3r
Posted

Hello, I got an error when someone kills me. And I don't know where to change it or what  to do with it.

It says: 

[DEBUG] default - Firstname Lastname death! Reason: 2725352035, killer: Someone Else

.../ragemp-srv/packages/RP/index.js:1: TypeError: this.addViolation is not a function.

 


After this, it shows me the whole index.js file, and I can't really help with just 1 line JS-Code to find an error.


Can someone help?

Greets!

Posted

 

4 часа назад, Loxitation сказал:

After this, it shows me the whole index.js file, and I can't really help with just 1 line JS-Code to find an error.

use

npm run watch

for debugging

Posted (edited)
vor 4 Stunden schrieb MarkCavalli:

 

use


npm run watch

for debugging

says
[2019-01-03T14:36:35.548] [DEBUG] default - Leon Lox death! Reason: 2725352035, killer: Dave Thompson
webpack:///./app/server/Factions/Police/Prison/sPrison.js?:11: TypeError: this.addViolation is not a function
                this.addViolation(killer, 5, "You killed a civilian");
 

Edited by Loxitation
Updated logfile
Posted

Hello first thank you for your work. For me, the problem is that everything works Server is running he wants to connect and then comes the following error message https://prnt.sc/m2d79p I do not know what went wrong there However, the described file is present at this location

Posted
49 минут назад, D3rinsid3r сказал:

Hello first thank you for your work. For me, the problem is that everything works Server is running he wants to connect and then comes the following error message https://prnt.sc/m2d79p I do not know what went wrong there However, the described file is present at this location

Try to clear client resoures folder

And then do

npm run build

or

npm run watch

also

Posted
vor 21 Minuten schrieb MarkCavalli:

Try to clear client resoures folder



And then do


npm run build

or


npm run watch

also

I have deleted the folder with the client ressorucen only I get now always error message when I enter the commands you have called me. However, I did not understand this NPM thing correctly which programs do I need and how it works.

Posted
vor 6 Stunden schrieb MarkCavalli:

Try to clear client resoures folder

And then do


npm run build

or


npm run watch

also

I've discovered the problem villaeasily, I've installed node in the standstill folder as soon as I want to move it but with cd command it always throws me mistakes and it doesn't work, googling hasn't taken me any further no matter what I tried http://prntscr.com/m2ryh0

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...