Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

hello gd colon i have a issue on your randomizer #22

Open
Dufinetrz opened this issue Jul 5, 2022 · 2 comments
Open

hello gd colon i have a issue on your randomizer #22

Dufinetrz opened this issue Jul 5, 2022 · 2 comments

Comments

@Dufinetrz
Copy link

error pops up everytime i try to run suffle.js the first link works but the other 2 dont i did all the same but it didnt work i tryed many times idk how to add the schreenshot so i will write what error message says:
Windows Script Host
Script:C:\Users\lazar\Desktop\games\Geometry Dash\Resources
Line: 1
Char: 1
Error: Syntax error
Code: 800A03EA
Source: Microsoft JScript Comilation error
and then i have only 2 buttons to click "ok" or "x" and when i try again it happaens .
Can you fix this or if i did something wrong to say how do i fix this.

@SomeIdiotCalledMusicalFrog
Copy link

SomeIdiotCalledMusicalFrog commented Jul 21, 2022

Your issue is likely caused by catch(e) { console.log(e); fs.writeFileSync('crash_log.txt', e.stack ? Something went wrong!

to fix this you can remove this line of code line 141 if you are running on Mac or PC and that should solve your problem

I hope I could help :)

@Rudxain
Copy link

Rudxain commented Oct 21, 2022

first link works but the other 2 dont

What do you mean?

Windows Script Host

That's the problem, you aren't using NodeJS. WSH has an extremely old and non-standard (not ECMAScript compliant) JS interpreter made by Microsoft.

Here's the official install instructions

I recommend using winget instead of running the .msi file, because winget makes it easy to detect and install updates to NJS, while the MSI will install once and forget about the program.

After the install, you should have PowerShell or cmd already open. In this situation, I highly recommend cmd because it's fast and lightweight. (I would recommend PowerShell for everything else). Run this in the terminal/console CLI:

cd Downloads\GD-Randomizer
node .

I'm assuming you downloaded this repo as ZIP, extracted the inner folder, and renamed it to remove the "-master" suffix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants