Jump to content

Recommended Posts

Posted

I've started Rage for the first time and I want to install a server package and try it out how can I run it? can you help me? Or can you make a video? or you can write step by step.

  • 1 year later...
  • 2 months later...
Posted

[ERROR] "resources" package loading failed, exception stack:
Error: Cannot find module /home/zap1073870/g555196/gta5-ragemp-linux/packages/resources/index.mjs imported from /home/zap1073870/g555196/gta5-ragemp-linux/bin/loader.mjs
at Loader.resolve [as _resolve] (internal/modules/esm/default_resolve.js:84:13)
at Loader.resolve (internal/modules/esm/loader.js:74:33)
at Loader.getModuleJob (internal/modules/esm/loader.js:148:40)
at Loader.import (internal/modules/esm/loader.js:132:28)
at importModuleDynamically (internal/modules/esm/translators.js:76:36)
at exports.importModuleDynamicallyCallback (internal/process/esm_loader.js:31:14)
at loadPackages (file:///home/zap1073870/g555196/gta5-ragemp-linux/bin/loader.mjs:2:247)
at file:///home/zap1073870/g555196/gta5-ragemp-linux/bin/loader.mjs:4:7
at file:///home/zap1073870/g555196/gta5-ragemp-linux/bin/loader.mjs:6:255
at ModuleJob.run (internal/modules/esm/module_job.js:109:37)
 

  • 1 month later...
  • 1 year later...
Posted

I am getting this big error 

But the database is working perfectly fine in mysql

DATABASE IS NOT WORKING
[2024-07-22T15:52:48.706] [ERROR] default - SELECT * FROM vehicles WHERE factionName = 'Hospital'
(node:13696) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:3306
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1145:16)
    --------------------
    at Protocol._enqueue (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:144:48)
    at Protocol.handshake (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:51:23)
    at PoolConnection.connect (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Connection.js:119:18)
    at Pool.getConnection (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:48:16)
    at Pool.query (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:202:8)
    at C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:32:39
    at new Promise (<anonymous>)
    at MiscSingleton.dbquery (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:32:10)
    at MiscSingleton.query (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:43:27)
    at VehicleSingleton.loadFactionVehicles (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\Basic\Vehicles\sVehicleSingletone.js:282:31)
(Use `ragemp-server --trace-warnings ...` to show where the warning was created)
(node:13696) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:13696) [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.
[2024-07-22T15:52:48.708] [ERROR] default - SELECT * FROM business INNER JOIN barbershop ON business.id = barbershop.id
(node:13696) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:3306
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1145:16)
    --------------------
    at Protocol._enqueue (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:144:48)
    at Protocol.handshake (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:51:23)
    at PoolConnection.connect (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Connection.js:119:18)
    at Pool.getConnection (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:48:16)
    at Pool.query (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:202:8)
    at C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:32:39
    at new Promise (<anonymous>)
    at MiscSingleton.dbquery (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:32:10)
    at MiscSingleton.query (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:43:27)
    at loadBarberShops (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\Business\sBarberShop.js:76:23)
(node:13696) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
[2024-07-22T15:52:48.710] [ERROR] default - SELECT * FROM business INNER JOIN clothingshop ON business.id = clothingshop.id
(node:13696) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:3306
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1145:16)
    --------------------
    at Protocol._enqueue (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:144:48)
    at Protocol.handshake (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:51:23)
    at PoolConnection.connect (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Connection.js:119:18)
    at Pool.getConnection (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:48:16)
    at Pool.query (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:202:8)
    at C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:32:39
    at new Promise (<anonymous>)
    at MiscSingleton.dbquery (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:32:10)
    at MiscSingleton.query (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:43:27)
    at loadClothingShops (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\Business\sClothingShop.js:69:23)
(node:13696) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
[2024-07-22T15:52:48.711] [ERROR] default - SELECT * FROM business INNER JOIN cheapcardealership ON business.id = cheapcardealership.id
(node:13696) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:3306
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1145:16)
    --------------------
    at Protocol._enqueue (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:144:48)
    at Protocol.handshake (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:51:23)
    at PoolConnection.connect (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Connection.js:119:18)
    at Pool.getConnection (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:48:16)
    at Pool.query (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:202:8)
    at C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:32:39
    at new Promise (<anonymous>)
    at MiscSingleton.dbquery (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:32:10)
    at MiscSingleton.query (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:43:27)
    at loadShops (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\Business\sCheapCarDealership.js:29:23)
(node:13696) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
[2024-07-22T15:52:48.712] [ERROR] default - SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id
(node:13696) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:3306
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1145:16)
    --------------------
    at Protocol._enqueue (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:144:48)
    at Protocol.handshake (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:51:23)
    at PoolConnection.connect (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Connection.js:119:18)
    at Pool.getConnection (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:48:16)
    at Pool.query (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:202:8)
    at C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:32:39
    at new Promise (<anonymous>)
    at MiscSingleton.dbquery (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:32:10)
    at MiscSingleton.query (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:43:27)
    at loadShops (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\Business\sCommercialCarDealership.js:29:23)
(node:13696) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)
[2024-07-22T15:52:48.713] [ERROR] default - SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id
(node:13696) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:3306
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1145:16)
    --------------------
    at Protocol._enqueue (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:144:48)
    at Protocol.handshake (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\protocol\Protocol.js:51:23)
    at PoolConnection.connect (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Connection.js:119:18)
    at Pool.getConnection (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:48:16)
    at Pool.query (C:\GrandRP Launcher\RAGEMP\server-files\node_modules\mysql\lib\Pool.js:202:8)
    at C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:32:39
    at new Promise (<anonymous>)
    at MiscSingleton.dbquery (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:32:10)
    at MiscSingleton.query (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\sMisc.js:43:27)
    at loadShops (C:\GrandRP Launcher\RAGEMP\server-files\packages\gamemods\Business\sGasStation.js:161:23)
(node:13696) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
[DONE] MasterList: Connected to master list.

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