报错现象
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read property 'replace' of nul
at Connection. <anonymous> (D:(SteamCode\resources\app\main.js:1:36180)
at Connection.emit (events.js:315:20)
at Connection.processFrame
(D:\SteamCode\resources\app\node_modules\nodejs-websocket\Connection.js:62...
at Connection.extractFrame
(D:(SteamCode\resources\app\node_modules(nodejs-websocket\Connection.j..:14)
at Connection.doRead
(D:(SteamCode\resources\app\node_modules(nodejs-websocket\Connection.j..:23)
at Socket.<anonymous>
(D:\SteamCode\resources\app\node_modules\nodejs-websocket\Connection.js:66..
at Socket.emit (events.js:315:20)
at emitReadable_ (internal/streams/readable.js:569:12)
at processTicksAndRejections (internal/process/task_queues.js:79:21)

分析及解决方法
发现是自己上传的校区课程。所以怀疑是没有上传ppt导致的。
进入校区管理,系统设置,权限设置,校区课程。找到相关的课程,上传一个ppt。保存后可以解决这个报错。




回到我的教室,备课中心,找到这节课。点课堂成果后,就可以了。




发现这里已经填写好了模板。

