Ekliptor / WolfBot

Crypto currency trading bot written in TypeScript for NodeJS
https://wolfbot.org
GNU Affero General Public License v3.0
710 stars 215 forks source link

many errors after fresh installation #25

Closed JustDoItSascha closed 5 years ago

JustDoItSascha commented 5 years ago

Hey,

I very eager to try your trading bot. Unfortunately it's not working. I cloned the project, ran yarn install and yarn add webpack webpack-cli(because it was missing) and tried to do yarn watch, but I get this errors (just an excerpt, I have many more of them):

image image

Ekliptor commented 5 years ago

Hi My webpack is installed globally, so yes it was missing.

Those errors are mentioned in the readme and can be ignored. They happen due to shared code between client and server which is not in a separate module and needs to be refactored by me. Just ensure comitOnErrors: true in the /public/js/tsconfig.json is enbaled (default) and it will still generate client-side code.

Also you only need to run tsc in the root folder to make changes to the bot or run it. Running tsc in the /public/js/ (which is where those errors come from) is only required if you want to make UI changes