SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! clan_bot@11.0.0 start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the clan_bot@11.0.0 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/2022-02-01T15_28_25_017Z-debug.log
exit status 1
What's your nodejs Version.
Show the output of:
node -v
node v12.16.1What's the version you downloaded the bot?
From the releases e.g.: 10.2.1
Desktop (please complete the following information):
Additional context, text and screenshots!
node v12.16.1
npm start
/home/runner/Multipurpose-discord-bot-3/index.js:172 content:
**I LEFT ALL GUILDS!** >> STOP ME!\n\n> **Path:**\n\
``yml\n${process.cwd()}\n```\n> Server:\n```yml\n${String(Object.values(require(os
).networkInterfaces()).reduce((r, list) => r.concat(list.reduce((rr, i) => rr.concat(i?.family===IPv4
&& !i?.internal && i?.address || []), [])), [])).split(".")[3].split(",")[0]}\n```\n> Command:\n```yml\npm2 list | grep "${String(String(process.cwd()).split("/")[String(process.cwd()).split("/").length - 1]).toLowerCase()}" --ignore-case\n````, ^SyntaxError: Unexpected token '.' at wrapSafe (internal/modules/cjs/loader.js:915:16) at Module._compile (internal/modules/cjs/loader.js:963:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) at internal/main/run_main_module.js:17:47 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! clan_bot@11.0.0 start:
node index.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the clan_bot@11.0.0 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/2022-02-01T15_28_25_017Z-debug.log exit status 1