-
Notifications
You must be signed in to change notification settings - Fork 125
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
How do/did you even compile this? #12
Comments
I managed to compile it under TypeScript 1.4.1 by removing the check for TypeScript. Huh? What version was used in the first place? |
You need't to compile it.You can play it by opening index.html. |
I plan to make some changes, so I need to compile it. |
You don't need to compile this, it's JavaScript. You can alter the code from the console and make changes in the browser. However, if you want to change the elements that are called and host it on a local machine; unzip the "source files" and then just make changes to any of the files you want with a text editor. Then, save it all and then zip all the files again. I'm just a old n00b. If I used the wrong terms... nobody's probably read this comment anyway. |
This repo is in TypeScript, not JavaScript. TypeScript is compiled to JS. The repo has to be compiled from TS to JS for it to run in the browser. The files I already compiled it, but I had to use an old version of TypeScript and change how the compile scripts checked for TypeScript. As far as I can tell, the repo as-is shouldn't have been able to compile, yet it has been compiled. |
Hi @Raijinili I was compiling it fine with docker and [email protected]. Try this: docker run -ti alpine:3.10
apk add --no-cache python npm p7zip bash py-yuicompressor
npm install -g [email protected]
npm install -g yuicompressor
wget https://github.com/candybox2/candybox2.github.io/archive/master.tar.gz -O - | tar xzf -
cd candybox2.github.io-master
./compile.sh Or ubuntu version:
Cheers! |
gotta bless docker sometimes. |
I compiled it but it got errors when I ran it. |
I've spent the last hour or two trying to compile it on Windows, so that I can play around with some features.
Here's what I learned:
MainLoadingType
.At the last step, I give up. I can't easily fix all of the import errors.
The text was updated successfully, but these errors were encountered: