Error parsing script ... <\1>

For example:

Error parsing script @fivecode_carkeys/client/main.lua in resource fivecode_carkeys: @fivecode_carkeys/client/main.lua:1: syntax error near '<\1>'

Possible reasons:

  • Your server version is too old, the minimum version is 4752

  • You are transferring the folder to the VPS file by file, please upload the .zip file and extract it after it is already on your VPS (so drag and drop the zip file and not the folder)

Solutions:

  1. Update your server version

How to check my server version ?

How to update your server version ?

  • To update your server version, you have to download the newest Server Artifacts and replace them with your current one Here you can find the official FiveM guice to update your server

I'am still getting this error even after my server version was already updated If you update your server version and you are still getting the error, then go Here

Last updated