Hi, I'm Lucas. I'm a full-stack developer from France ๐ซ๐ท.
If you found value in something I have created or just want to say hello, feel free to drop me a line @lucasportet.
๐ ๐ถ Sport surebet finder bot
Hi, I'm Lucas. I'm a full-stack developer from France ๐ซ๐ท.
If you found value in something I have created or just want to say hello, feel free to drop me a line @lucasportet.
hi, i tried to run the code but it gives me this error:
C:\Users\\Documents\GitHub\surebet-finder>npm start
> [email protected] start
> node index.js
Error: Unable to call API
C:\Users\\Documents\GitHub\surebet-finder\node_modules\axios\lib\core\createError.js:16
var error = new Error(message);
^
Error: Request failed with status code 404
at createError (C:\Users\\Documents\GitHub\surebet-finder\node_modules\axios\lib\core\createError.js:16:15)
at settle (C:\Users\\Documents\GitHub\surebet-finder\node_modules\axios\lib\core\settle.js:17:12)
at IncomingMessage.handleStreamEnd (C:\Users\pandi\Documents\GitHub\surebet-finder\node_modules\axios\lib\adapters\http.js:237:11)
at IncomingMessage.emit (node:events:532:35)
at endReadableNT (node:internal/streams/readable:1346:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
...
I have recently started programming and I do not know how to solve the problem. I changed the baseURL in the aggregator.js file but the problem is not solved.
Sorry for my bad english, hope you can solve the problem.
API_KEY=my APi key
3. Got error
c:\temp\surebet-finder-master\index.js:2
const apiKey = require('dotenv').config().parsed.API_KEY;
^
TypeError: Cannot read property 'API_KEY' of undefined
at Object. (c:\temp\surebet-finder-master\index.js:2:49)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js
:71:12)
at internal/main/run_main_module.js:17:47
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\1\AppData\Roaming\npm-cache_logs\2020-07-10T09_19_16_384Z
-debug.log
Hello Friend. help me please ... I have this error:
Error: Unable to call API
(node:7608) UnhandledPromiseRejectionWarning: Error: Request failed with status code 403
at createError (C:\Program Files\nodejs\Nova pasta\node_modules\axios\lib\core\createError.js:16:15)
at settle (C:\Program Files\nodejs\Nova pasta\node_modules\axios\lib\core\settle.js:17:12)
at IncomingMessage.handleStreamEnd (C:\Program Files\nodejs\Nova pasta\node_modules\axios\lib\adapters\http.js:236:11)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1221:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:7608) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:7608) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.