Jump to content
RAGE Multiplayer Community

My server kick me


Recommended Posts

Hi guys i try to create amateur server fo mu to learn but I have problem with packages JS. I spend 3 hours and f

I use this tutorial because i'm newbie in this platform. I have this problem give console.

[INFO] Loading NodeJS packages...
[DONE] "local-chat" package has been loaded.
[ERROR] "ragetutorial" package loading failed, exception stack:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\knajd\OneDrive\Pulpit\server-files\packages\ragetutorial\index.mjs' imported from C:\Users\knajd\OneDrive\Pulpit\server-files\bin\loader.mjs
    at finalizeResolution (internal/modules/esm/resolve.js:271:11)
    at moduleResolve (internal/modules/esm/resolve.js:668:10)
    at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:779:11)
    at Loader.resolve (internal/modules/esm/loader.js:85:40)
    at Loader.getModuleJob (internal/modules/esm/loader.js:229:28)
    at Loader.import (internal/modules/esm/loader.js:164:28)
    at importModuleDynamically (internal/modules/esm/translators.js:86:35)
    at exports.importModuleDynamicallyCallback (internal/process/esm_loader.js:30:14)
    at loadPackages (file:///C:/Users/knajd/OneDrive/Pulpit/server-files/bin/loader.mjs:2:247)
    at file:///C:/Users/knajd/OneDrive/Pulpit/server-files/bin/loader.mjs:4:7


[INFO] Starting packages...
[DONE] Server packages have been started.
Initializing Bootstrapper.dll (1.1.0.0)..
-> SERVER STARTED AT 07.01.2021 01:03:11
Unable to load acl.xml
ACLEnabled: False
Loaded 667 entries from vehicleData.json
Loading resources..
-> Starting RPV resource..
RV: loading scripts.. found 1 script(s)
RV: instantiating RageTutorial.Commands..
RV: instantiating RageTutorial.IPlayer..
RV: instantiating RageTutorial.PlayerEvents..
RV: instantiating RageTutorial.ServerEvents..
RV: instantiating RageTutorial.Settings..
RV: instantiating RageTutorial.Database.PlayerData..
RV: instantiating RageTutorial.Connection.ConnectionHandler..
RV: loading server events.. found 3 server event(s)
RV: loading server events.. found 1 server event(s)
RV: loaded 4 server events(s)
RV: loading commands.. found 7 command(s)
RV: loaded 7 commands(s)
RV: loading remote events.. found 1 remote event(s)
RV: loading remote events.. found 2 remote event(s)
RV: loaded 3 remote event(s)

[Server] Server set Good!

-> Resource RV started!
Started! Waiting for connections..
[DONE] Started resource transfer server at 22006 port.
[DONE] Client-side packages weight: 0.004181 MB (uncompressed: 0.014002 MB).
[INFO] Initializing networking...
[DONE] Networking has been started: (IPv4-only) at 127.0.0.1:22005
[DONE] The server is ready to accept connections.

 

I Try to connect to sever and server is Dead.

I updated all packages, recompiled well, I don't know what to do next to the server because it throws.

Link to post
Share on other sites

The error is clear enough, do you have that file the server is asking for?

Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\knajd\OneDrive\Pulpit\server-files\packages\ragetutorial\index.mjs' imported from C:\Users\knajd\OneDrive\Pulpit\server-files\bin\loader.mj
Link to post
Share on other sites

I have in folder C:\Users\knajd\OneDrive\Pulpit\server-files\bin  loader.mjs but I havent't C:\Users\knajd\OneDrive\Pulpit\server-files\packages\ragetutorial index.mjs

 

Link to post
Share on other sites

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