Jump to content

beep

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by beep

  1. Had it running for a week, no longer running and logs now showing after update:

     

    Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /usr/lib/node_modules/synclounge/node_modules/url-join/lib/url-join.js
    require() of ES modules is not supported.
    require() of /usr/lib/node_modules/synclounge/node_modules/url-join/lib/url-join.js from /usr/lib/node_modules/synclounge/node_modules/syncloungeserver/dist/socketserver/index.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
    Instead rename url-join.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /usr/lib/node_modules/synclounge/node_modules/url-join/package.json.
    
        at new NodeError (internal/errors.js:322:7)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:1102:13)
        at Module.load (internal/modules/cjs/loader.js:950:32)
        at Function.Module._load (internal/modules/cjs/loader.js:790:12)
        at Module.require (internal/modules/cjs/loader.js:974:19)
        at require (internal/modules/cjs/helpers.js:101:18)
        at Object.<anonymous> (/usr/lib/node_modules/synclounge/node_modules/syncloungeserver/dist/socketserver/index.js:15:39)
        at Module._compile (internal/modules/cjs/loader.js:1085:14)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
        at Module.load (internal/modules/cjs/loader.js:950:32) {
      code: 'ERR_REQUIRE_ESM'
    }

     

    • Upvote 1
  2. On 6/8/2021 at 8:29 PM, SeaOlympian said:

    I just started using AMP and have gotten a Minecraft server running on it. I can connect to it on my local network but I cannot over the internet.

     

    I do have TCP port 25565 forwarded to my server in my router. Also I do have AMP running behind SWAG and I can access the webgui over the internet, just not the Minecraft instance itself so I think I have missed or am overlooking something. I have been looking for a solution for a few weeks now and have been unsuccessful at this point. Here is my SWAG config incase that helps: https://pastebin.com/85qxW8g7 If anything else is needed I will try to get it asap.

     

    Also just wanted to say the work everyone does on this is amazing to see including the support so thank you for that!

    Did you ever get this working over the internet?

     

    Edit, I too currently have the server(satisfactory) working locally, just cannot get it working with my subdomain and swag.

  3. On 4/21/2022 at 10:47 AM, [email protected] said:

    I got it working at last. they should redo the video, they miss a lot. like half the config.yml , the text version is more accurate. https://docs.ibracorp.io/pterodactyl-docker-1/  I tested  it with swag so i made my own proxy config. not sure if its secure or perfect.  I'm not using pterodactyl now but I plan in the future when i get a better connection. I only tested to make a rust server and log in to it and that worked but i forgot to define the rcon port so ill have to do it again some day,  its just for testing for now.

    I am trying this and am stumped on how to setup the subdomain.conf filesfor swag.

    Would it be possible for you to share your conf file? I understand it's rough.

     

    Edit, figured it out to get it working through subdomain...:

     

    #ptero
    server {
    	listen 80;
    	server_name panel.XXXXX.XXX;
    	return 301 https://panel.XXXXX.XXX$request_uri;
    	}
    server {
    	listen 443 ssl http2;
    	server_name  panel.XXXXX.XXX;
    	location / {
    		include /config/nginx/proxy.conf;
    		proxy_pass http://XX.X.X.X:8001;
    		} 
    	}

     

    Edit2,

     

    I am am now having an issue getting node.XXX.XXX to be found I believe, when I run the daemon I am getting a CORS error. "CORS header ‘Access-Control-Allow-Origin’ missing) 502"

×
×
  • Create New...