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/e19db3ed3cbfd287f739fd3fc8041bc4 to your computer and use it in GitHub Desktop.
Save ElijahRus250/e19db3ed3cbfd287f739fd3fc8041bc4 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 6d96f55317f0b03 [#.................] / preinstall:discordbot: info lifecycle discordbot@1.0.0~p [##................] | loadDep:discord.js: sill install loadAllDepsIntoIdealTre [#######...........] / diffTrees: sill install generateActionsToTake [#######...........] | postinstall: sill install executeActions 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 [#########.........] | postinstall:container: WARN discordbot@1.0.0 No reposito /home/container/index.js:25
if (!message.member.hasPermission(command.perms)) {
TypeError: Cannot read property 'perms' of undefined
at Client.<anonymous> (/home/container/index.js:25:45)
at Client.emit (events.js:310:20)
at MessageCreateAction.handle (/home/container/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:386:31)
at WebSocketShard.onPacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:436:22)
at WebSocketShard.onMessage (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:293:10)
at WebSocket.onMessage (/home/container/node_modules/ws/lib/event-target.js:120:16)
at WebSocket.emit (events.js:310:20)
at Receiver.receiverOnMessage (/home/container/node_modules/ws/lib/websocket.js:800:20)
/entrypoint.sh: line 12: audited: command not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment