jonassvensson4 / jsfour-core Goto Github PK
View Code? Open in Web Editor NEWNode.js backend for FiveM with client and server callbacks.
License: Other
Node.js backend for FiveM with client and server callbacks.
License: Other
Removed Yarn from dependences and its still not working
I Just get
yarn install v1.13.0
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error /home/fivem/heavylife/resources/[esx]/jsfour-core/node_modules/ejs: Command failed.
Exit code: 1
Command: node ./postinstall.js
Arguments:
Directory: /home/fivem/heavylife/resources/[esx]/jsfour-core/node_modules/ejs
Output:
/home/fivem/server/alpine/opt/cfx-server/ld-musl-x86_64.so.1: ./postinstall.js: Not a valid dynamic program
any ideas why? i just downloaded it and installed it
Hello Jonas,
Thirst, i really want to thank you for all the works you shared, we use you ID-CARD script and your REGISTER script too.
I try to update the __resource.lua
with the new fxmanifest.lua
and the script doesn't work anymore (people are in the sky, without any UI).
The line :
__resource.lua
resource_type 'map' { gameTypes = { fivem = true } }
Is not valid anymore, with the new FXv2. Because fiveM add a folder named basic-gamemode
and i think he totally ruin your lovelly script jsfour-register...
The stuff i try :
Remove basic-gamemode
= In prompt : "couldn't load resource fivem.." = Serveur doesn't start.
Change the line :
resource_type 'gametype' { name = 'Freeroam' }
in the basic-addon
, file : fxmanifest.lua
by :
resource_type 'gametype' { name = 'fivem' }
And :
resource_type 'map' { gameTypes = { ['fivem'] = true } }
And :
resource_type 'map' { gameTypes = { ['basic-gamemode'] = true } }
(why not, but i know before is not going to work x) ).
I see you updating some resources with the new fxmanifest.lua
, maybe you know how to continue to use your script with the new FXv2...
Thank to you, and i'm really sorry about writing an issue here.
so I reinstalled yarn and then installed through npm still i cant get it to work
does this mean i have to install the dependencies myself ?? i tried reinstalling, and restarting server multiple times
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.