Comments (10)
Hi, Have you ran npm i
? It seems as if you are missing some dependencies
from botrix.
I did.
from botrix.
It also seems like you have not provided the entire error message, please provide the entire error message.
from botrix.
> [email protected] start /home/runner/botrix
> node src/index.js
internal/modules/cjs/loader.js:1174
throw err;
^
SyntaxError: /home/runner/botrix/src/config.json: Unexpected token / in JSON at position 570
at parse (<anonymous>)
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1171:22)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/home/runner/botrix/src/routes/api/bots/submit.js:9:16)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/home/runner/botrix/src/routes/api/routes/index.js:3:16)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node src/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 logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2021-01-04T14_59_54_801Z-debug.log
exit status 1
îș§ ```
from botrix.
Okay, It seems as there is a problem with your config file.. Could you provide your config.json file for me?
from botrix.
Can I share it privately?
from botrix.
Join and look at config.
from botrix.
It seems like the comments were messing with the json syntax.
from botrix.
What should I do?
from botrix.
Learn JSON or use a json linter.
from botrix.
Related Issues (20)
- Bug: Don't log in HOT 4
- SKU BTX Issue HOT 6
- Bug: Banner not uploading HOT 2
- Error HOT 1
- đ Bug: The Library and Support icons point to Tritan.gg
- Error add bot and server HOT 2
- Bot problem HOT 4
- Heroku HOT 2
- problem bot HOT 3
- Adding Server And Bots CSS Messed HOT 1
- How do you start the bot? HOT 1
- Redirect error
- Redirect error HOT 1
- AppID HOT 3
- Oauth2 HOT 1
- Admin pannel (beta) HOT 1
- Error HOT 1
- Bots Dont Load HOT 1
- Error help HOT 26
- /src/routes/index.js:78 const botsize = req.app.get("client").guilds.cache.get("721282458708082713").members.cache.filter((m) => m.user.bot).size ^ TypeError: Cannot read properties of undefined (reading 'members') at /var/www/dslist/src/routes/index.js:78:81 at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â€ïž Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botrix.