Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs

Check for Syntax Errors


Hello, I've been very interested in incorporating into our classrooms at my university. However, something that I've noticed is that there doesn't appear to be any syntax error highlighting in the text editor. It's really difficult for new students to debug their code without these. Is this a feature that will combing down the pipeline in the future?

4 years ago
You are viewing a single comment. View All

can someone fix this? its discord.js:
TypeError: Cannot read property 'id' of undefined
at (/home/runner/V13-1/commands/moderation/kick.js:40:17)
at Client. (/home/runner/V13-1/index.js:94:17)
at Client.emit (node:events:394:28)
at MessageCreateAction.handle (/home/runner/V13-1/node_modules/discord.js/src/client/actions/MessageCreate.js:23:14)
at Object.module.exports [as MESSAGE_CREATE] (/home/runner/V13-1/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (/home/runner/V13-1/node_modules/discord.js/src/client/websocket/WebSocketManager.js:345:31)
at WebSocketShard.onPacket (/home/runner/V13-1/node_modules/discord.js/src/client/websocket/WebSocketShard.js:443:22)
at WebSocketShard.onMessage (/home/runner/V13-1/node_modules/discord.js/src/client/websocket/WebSocketShard.js:300:10)
at WebSocket.onMessage (/home/runner/V13-1/node_modules/ws/lib/event-target.js:132:16)
at WebSocket.emit (node:events:394:28)
npm ERR! errno 1
npm ERR! [email protected] start: node .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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/2021-12-27T12_05_16_358Z-debug.log
exit status 1

11 months ago