Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ElijahRus250/934ebac24eeaf267039b8f56ea126b0b to your computer and use it in GitHub Desktop.
Save ElijahRus250/934ebac24eeaf267039b8f56ea126b0b to your computer and use it in GitHub Desktop.
:/home/container$ `/usr/local/bin/npm install --production && /usr/local/bin/node /home/container/index.js`
[..................] / rollbackFailedOptional: verb npm-session 029a22969ff6dfd [#.................] / preinstall:discordbot: info lifecycle discordbot@1.0.0~p [#.................] - loadIdealTree:loadAllDepsIntoIdealTree: sill install loa [##................] | loadDep:discord.js: sill install loadAllDepsIntoIdealTre [#######...........] \ postinstall: sill install executeActions [#########.........] \ postinstall:container: info lifecycle discordbot@1.0.0~p npm WARN discord.js@12.2.0 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN discord.js@12.2.0 requires a peer of erlpack@discordapp/erlpack but none is installed. You must install peer dependencies yourself.
npm WARN discord.js@12.2.0 requires a peer of libsodium-wrappers@^0.7.6 but none is installed. You must install peer dependencies yourself.
npm WARN discord.js@12.2.0 requires a peer of sodium@^3.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN discord.js@12.2.0 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN discord.js@12.2.0 requires a peer of zlib-sync@^0.1.6 but none is installed. You must install peer dependencies yourself.
npm WARN prism-media@1.2.1 requires a peer of ffmpeg-static@^2.4.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN prism-media@1.2.1 requires a peer of @discordjs/opus@^0.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN prism-media@1.2.1 requires a peer of node-opus@^0.3.1 but none is installed. You must install peer dependencies yourself.
npm WARN prism-media@1.2.1 requires a peer of opusscript@^0.0.6 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.2.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.2.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN discordbot@1.0.0 No description
npm WARN discordbot@1.0.0 No repository field.
[#########.........] | postinstall:container: WARN discordbot@1.0.0 No reposito [#########.........] | postinstall:container: WARN discordbot@1.0.0 No reposito [#########.........] | postinstall:container: WARN discordbot@1.0.0 No reposito [#########.........] | postinstall:container: WARN discordbot@1.0.0 No reposito /home/container/commands/ping.js:2
const m = await message.channel.send("Ping?");
^^^^^
SyntaxError: await is only valid in async function
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/container/index.js:11:18)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/entrypoint.sh: eval: line 1: audited: not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment