Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package.json & Fix nil value error handling on substring #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

robert4049
Copy link

This fixes dependency issues created by the release of discord.js 14.13.0 because their packages are set to automatically grab the latest version of every dependency. An issue was opened in their repo where they stated their solution is to override the dependencies in the package.json. Furthermore, this would not be an issue if FiveM was using a modern instance of node.js and an issue was opened with them to update node.js, so this work around wouldn't be needed in the future. Please note that there's a breaking change in @discordjs/util 1.0.0 with your script and the script will need to be modified prior to updating to 1.0.0

citizenfx/fivem#2166
workaround
discordjs/discord.js#9792

@robert4049 robert4049 changed the title Update package.json Update package.json & Fix nil value error handling on substring Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant