[Release] SnailyCAD | Fast, modern and free FiveM CAD/MDT

It looks like your config file is named “config” instead of “config.ts”, make sure it’s “config.ts”

Hello, i have problem with CAD, can you help me @casperiv0 (I’m using a last updated SanilyCADv3)

You need to install serve globally: npm install serve -g, then in the client folder run npm run build (can take a few minutes). After that all should work, btw, goto http://your-url:5000 instead of 3030.

@casperiv0 ok, thanks for that, but I have another problem. why, when I register, СAD does not register this and I cannot register, in MYSQL panel i impored a snaily-cad.sql. And I tryied register with password and without password.

Try add :5000 to the end of your clientUrl in the server config, so it looks like: http://some-ip:5000

@casper124578 It’s the same anyway, or maybe I need to somehow connect MYSQL?

Seems like there’s an error connecting to your MySQL database, nothing I can do about that sorry

Added a quick installation guide for the people that are having problems, I will upload a few more videos soon showing how to change some of the configs and maybe how to host it.

Video (video was just uploaded so quality might be bad, just wait a few hours and it should be good.)

Just pushed a small update that fixes sockets not emitting, such as incoming 911 calls, status updates. Make sure to update your CAD

Hi,

I am getting the error in this link when I start up and unsure how to resolve it. Would you be able to provide some insight?

https://hastebin.com/kiqavesuni.yaml

Thanks :slight_smile:

Install serve globally: npm install serve -g, then try again

Hey!

Thanks for that. It seems to be fixed, however now I am unable to use the login or register off the box. I have opened the ports 3030 and 5000 and yet I am still unable to. Any idea why?

Thanks for your help

Yea, most likely something is wrong in your config, make sure everything is correct, You can see more about the clientUrl and SERVER_URL in this issue comment

Released version 1.0.0

See full change-log [snaily-cadv3/CHANGELOG.md at main · Dev-CasperTheGhost/snaily-cadv3 · GitHub]
Guide on how to update the CAD: [How to update SnailyCADv3 - Quick guide - YouTube]

If you’re getting an error with merge conflicts, run git stash and double check for your config files if they’re still correct!

Hello, I’m currently trying to set the cad up for others to connect and I was able to follow all of the steps except for setting a proxy in the package.json file. I have port fowarding setup but others are unable to connect. In the client\config.js I have the SERVER_URL set to “http://myip:5000”. As instructed in a previous post, June 1st 2020, I followed the steps except for 4 and 5. Anything to help with this?
(If attempting to connect via localhost it works fine)

Can you send a me a screenshot via DM’s of both your configs? That’ll be easier for me to debug what’s wrong.

I can’t log in. I installed it but I can only run “npm start” on the /client directory and I get an error when doing it in the main directory. It does work but I can’t login or register?

client server
I did put a valid ip in btw

Run “npm install” in the root folder, there’s a video guide at the top of this post to help

1 Like

So I did that and went over the video again but I still cant login when I do “npm start” in the /client directory and still can’t log in but now when I do it in the root folder I get this…