Comments (19)
Ah. Thanks
from botrix.
Sure, I'd be happy to help!
Please answer these questions:
Describe the bug
A description of what the bug is.
How To Reproduce
Steps to reproduce the behavior:
1.
2.
Expected behavior
A description of what you expected to happen.
Environment (add if possible)
- Node.js version:
Additional information & screenshots
Add any other context or screenshots about the problem here.
from botrix.
This is what I get when I try running the project:
2021-01-06T10:25:34.904173+00:00 app[web.1]: code: 'EACCES',
2021-01-06T10:25:34.904174+00:00 app[web.1]: errno: 'EACCES',
2021-01-06T10:25:34.904174+00:00 app[web.1]: syscall: 'listen',
2021-01-06T10:25:34.904174+00:00 app[web.1]: address: '0.0.0.0',
2021-01-06T10:25:34.904174+00:00 app[web.1]: port: 80
2021-01-06T10:25:34.904174+00:00 app[web.1]: }````
from botrix.
from botrix.
Uh. .. It's heroku
from botrix.
Ah, heroku is different as they pick the ports you can use internally. I know you have to set it up differently config wise.
@WindowsCmd owo can you guide this lad?
from botrix.
I recieved the same error when I tried repl.it
from botrix.
Cloud hosting typically isn’t the best when it comes to nodejs projects in my experience. I know both repl.it and heroku they use port proxies to keep everything clean so pretty much 80 isn’t really 80 and so on. We used to run our own version on heroku (before me), so I’m sure windows can point you in the right direction! :p
Have you tried running it locally for testing purposes?
from botrix.
Heya, heroku does not use static ports. To get the port to use on heroku do process.env.PORT
from botrix.
Thanks!
from botrix.
Lemme fix it.
from botrix.
How would I find the port however?
from botrix.
I only see heroku run commands
from botrix.
In the file index.js replace app.listen(80)
with app.listen(process.env.port)
from botrix.
Thanks.
from botrix.
IT's saying its online but web isn't showing up however.
from botrix.
One wierd question. Site is staying in maintenance mode. I think that's an error.
from botrix.
from botrix.
Fixed it myself.
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.