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

[BUG] #101

Open
OGR-stack opened this issue Sep 12, 2023 · 1 comment
Open

[BUG] #101

OGR-stack opened this issue Sep 12, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@OGR-stack
Copy link

Arguments:
C:\Users\Administrator\Desktop\Server\FXServer.exe C:\Users\Administrator\Desktop\Server\cfx-server-data-master\resources\yarn\yarn_cli.js install --ignore-scripts --cache-folder C:\Users\Administrator\Desktop\Server\cfx-server-data-master\cache\yarn-cache --mutex file:C:\Users\Administrator\Desktop\Server\cfx-server-data-master\cache\yarn-mutex

PATH:
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\nodejs;C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Scripts;C:\Users\Administrator\AppData\Local\Programs\Python\Python311;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Administrator\AppData\Roaming\npm

Yarn version:
1.22.5

Node version:
16.9.1

Platform:
win32 x64

Trace:
SyntaxError: Invalid value type 47:0 in C:\Users\Administrator\Desktop\Server\cfx-server-data-master\resources\zdiscord\yarn.lock
at Parser.unexpected (C:\Users\Administrator\Desktop\Server\cfx-server-data-master\resources\yarn\yarn_cli.js:34610:11)
at Parser.parse (C:\Users\Administrator\Desktop\Server\cfx-server-data-master\resources\yarn\yarn_cli.js:34736:16)
at Parser.parse (C:\Users\Administrator\Desktop\Server\cfx-server-data-master\resources\yarn\yarn_cli.js:34713:28)
at parse (C:\Users\Administrator\Desktop\Server\cfx-server-data-master\resources\yarn\yarn_cli.js:34811:21)
at module.exports.exports.default (C:\Users\Administrator\Desktop\Server\cfx-server-data-master\resources\yarn\yarn_cli.js:34380:96)
at C:\Users\Administrator\Desktop\Server\cfx-server-data-master\resources\yarn\yarn_cli.js:2874:63
at Generator.next ()
at step (C:\Users\Administrator\Desktop\Server\cfx-server-data-master\resources\yarn\yarn_cli.js:310:30)
at C:\Users\Administrator\Desktop\Server\cfx-server-data-master\resources\yarn\yarn_cli.js:321:13

citizen-server-impl] Running build tasks on resource zdiscord - it'll restart once completed.
[ citizen-server-impl] Couldn't start resource zdiscord.
[ script:yarn] [yarn] yarn install v1.22.5
[ script:yarn] Error: [yarn] error An unexpected error occurred: "Invalid value type 47:0 in C:\Users\Administrator\Desktop\Server\cfx-server-data-master\resources\zdiscord\yarn.lock".
[ script:yarn] [yarn] info If you think this is a bug, please open a bug report with the information provided in "C:\Users\Administrator\Desktop\Server\cfx-server-data-master\resources\zdiscord\yarn-error.log".
[ script:yarn] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[ citizen-server-impl] Building resource zdiscord failed.
[ citizen-server-impl] Error data: yarn failed!

@OGR-stack OGR-stack added the bug Something isn't working label Sep 12, 2023
@zfbx
Copy link
Owner

zfbx commented Sep 12, 2023

not sure exactly what to make of this but i'll just cover some basics.
make sure your yarn is up to date from the cfx default resources repo. pull a fresh copy of the yarn.lock from zdiscord and replace it and clear your server cache just in case I suppose.. then try again?

worst case there's a workaround to skip yarn entirely on my discord pinned in the zdiscord-chat channel. here's a link to the zip https://cdn.discordapp.com/attachments/862934532110024734/918724690363691038/yarn.zip
you'd just copy this into the zdiscord directory and it should skip yarn entirely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants