Comments (8)
Nevermind, another error I can't explain now.
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0 x86_64)
-
Documentation: https://help.ubuntu.com
-
Management: https://landscape.canonical.com
-
Support: https://ubuntu.com/advantage
-
Kata Containers are now fully integrated in Charmed Kubernetes 1.16!
Yes, charms take the Krazy out of K8s Kata Kluster Konstruction.https://ubuntu.com/kubernetes/docs/release-notes
Last login: Fri Oct 25 15:56:34 2019 from IP
root@localhost:~# cd /cross
root@localhost:/cross# node index.js
/cross/index.js:169
async function triggerWH(channel, user, content) {
^^^^^^^^
SyntaxError: Unexpected token function
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
root@localhost:/cross#
from cross-server-bot.
You're trying to start the bot using the node package manager... that is not what you want.
node file.js
is what you need to run to start a node process.
I'd highly recommend you take a look at the difference because it will get you so far in the world of development
from cross-server-bot.
.... I feel retarded right now... Thanks haha how tf did I not figure that out LOL
from cross-server-bot.
Run node -v
and tell me what it gives you
from cross-server-bot.
V.2.4.6 is the only output
from cross-server-bot.
You're on a very old version of node.
from cross-server-bot.
There's been up to 10 major updates to node compared to the version you're using
from cross-server-bot.
Yeah this issue is in no way related to this project but with your node / ubuntu install.
I am closing this now, we continued to take care of this in our support server anyway.
from cross-server-bot.
Related Issues (20)
- TypeError: config.guilds is not iterable HOT 4
- Assistance Needed HOT 1
- Bot keeps crashing HOT 1
- Deleting a message will sometimes not properly delete it on linked servers HOT 2
- None of the commands are working and no way to delte HOT 4
- Mentioning @everyone does not work in the other channels. HOT 21
- TODO HOT 6
- What is with this "webhook unavailable" message when an embed is sent HOT 6
- Enhanced mentions aren't working.
- Webhooks
- Deleting messages crashes the bot HOT 1
- Adding a set webhook to send the message when the bot is online HOT 1
- How do I run this on the discord server instead of my PC? HOT 26
- bot crash with error when start it
- Need help with WebHooks not working
- Multiple linked sets of channels HOT 5
- message deleted by bot (suggestion) HOT 9
- When linking more than 2 channels together message appears on all of them HOT 2
- Error with cyrillic charathers in nickname HOT 3
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 cross-server-bot.