pawn-lang / YSI-Includes

Just the YSI include files, none of the extra stuff.
211 stars 106 forks source link

Error due installation of YSI #631

Open njoBe1 opened 1 year ago

njoBe1 commented 1 year ago

When I try to download latest YSI package, I get this error.

WARN: failed to ensure package github.com/pawn-lang/YSI-Includes: remote repository is empty
WARN: failed to ensure package github.com/pawn-lang/YSI-Includes: remote repository is empty
WARN: failed to ensure package github.com/pawn-lang/YSI-Includes after 2 attempts, skipping

But It adds in dependencies list on pawn.json..

{
    "user": "njobe",
    "repo": "test",
    "entry": "test.pwn",
    "output": "gamemodes/test.amx",
    "dependencies": [
        "Y-Less/sscanf",
        "pawn-lang/samp-stdlib",
        "Southclaws/samp-geoip:1.0.1",
        "oscar-broman/samp-weapon-config",
        "pawn-lang/YSI-Includes@5.x:v5.06.1932"
    ],
    "local": true,
    "runtime": {
        "version": "0.3.7",
        "mode": "server",
        "plugins": [
            "maddinat0r/sscanf",
            ""
        ],
        "rcon_password": "123",
        "port": 7777,
        "hostname": "SA-MP Server",
        "maxplayers": 50,
        "language": "",
        "mapname": "San Andreas",
        "weburl": "www.sa-mp.com",
        "gamemodetext": "Unknown",
        "announce": true,
        "lanmode": false,
        "query": true,
        "rcon": false,
        "logqueries": false,
        "sleep": 5,
        "maxnpc": 0,
        "stream_rate": 1000,
        "stream_distance": 200,
        "onfoot_rate": 30,
        "incar_rate": 30,
        "weapon_rate": 30,
        "chatlogging": true,
        "timestamp": true,
        "messageholelimit": 3000,
        "messageslimit": 500,
        "ackslimit": 3000,
        "playertimeout": 10000,
        "minconnectiontime": 0,
        "lagcompmode": 1,
        "connseedtime": 300000,
        "db_logging": false,
        "db_log_queries": false,
        "conncookies": true,
        "cookielogging": false,
        "output": true
    }
}
zsoolt997 commented 1 year ago

The problem is here:

"pawn-lang/YSI-Includes@5.x:v5.06.1932"

Either a branch or a tag should be specified, not both. Change that to this:

"pawn-lang/YSI-Includes@5.x"

With this you will get always the latest commits.

njoBe1 commented 1 year ago
failed to ensure package github.com/pawn-lang/YSI-Includes: remote repository is empty
WARN: failed to ensure package github.com/pawn-lang/YSI-Includes: remote repository is empty
WARN: failed to ensure package github.com/pawn-lang/YSI-Includes after 2 attempts, skipping

it's same