Closed Sascha321 closed 4 years ago
Hello How can I install TypeScript if I shouldn't install npm because of yarn?
Hello
Can you help me there again? thank you
~/WolfBot/build$ node app.js --debug --config=Noop --trader=RealTimeTrader --noUpdate --noBrowser 2020-09-02 05:56:29 - info: DISCOUNT Having trouble setting up WolfBot on your local machine? Try the cloud version at https://wolfbot.org with a 30% discount with this code: gitsource7393 2020-09-02 05:56:30 - verbose: Ta-Lib successfully loaded. Ta-Lib Version 1.1.3 ready 2020-09-02 05:56:30 - info: minified all resources 2020-09-02 05:57:00 - error: Error connecting to MongoDB {"message":"connect ECONNREFUSED 127.0.0.1:27017","stack":"MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017\n at Timeout._onTimeout (/home/%user%/WolfBot/node_modules/mongodb/lib/core/sdam/topology.js:438:30)\n at listOnTimeout (internal/timers.js:549:17)\n at processTimers (internal/timers.js:492:7)","name":"MongoServerSelectionError","reason":{"type":"Single","setName":null,"maxSetVersion":null,"maxElectionId":null,"servers":{},"stale":false,"compatible":true,"compatibilityError":null,"logicalSessionTimeoutMinutes":null,"heartbeatFrequencyMS":10000,"localThresholdMS":15,"commonWireVersion":null}} 2020-09-02 05:57:00 - info: Main process exited with code 1 ~/WolfBot/build$
something is wrong with your MongoDB connection. Please put in the correct URL https://github.com/Ekliptor/WolfBot/blob/master/configLocal-sample.ts#L12
I did that, I set the path as follows "mongodb: //localhost/wolfbotdb" but then I still get the error, how is the URL composed normally?
yarn install v1.22.5 [1/4] Resolving packages... warning @ekliptor/bit-models > mongodb > mongodb-core > bson@1.0.9: Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details [2/4] Fetching packages... info fsevents@1.2.13: The platform "linux" is incompatible with this module. info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning "@ekliptor/apputils > winston-mongodb@4.0.9" has incorrect peer dependency "winston@^3.0.0". [4/4] Building fresh packages... success Saved lockfile. Done in 72.55s.
Hello, unfortunately the installation does not work, even if I start it with the command:
Can anyone help me? thank you
I install the following on an Ubuntu 20.04: