Error in console while loading class

I decided to understand the discord.js documentation code and test it. Replaced everything you need, while an error appears in the console, and the page remains blank.

marked.js:2597 Uncaught (in promise) Error: marked(): input parameter is undefined or null
   at marked (marked.js:2597)
   at markdown (markdown.ts:30)
   at ClassEvent.vue:64
   at ComputedRefImpl.reactiveEffect [as effect] (reactivity.esm-bundler.js:42)
   at ComputedRefImpl.get value [as value] (reactivity.esm-bundler.js:864)
   at unref (reactivity.esm-bundler.js:778)
   at Object.get (reactivity.esm-bundler.js:781)
   at Proxy._sfc_render (ClassEvent.vue:32)
   at renderComponentRoot (runtime-core.esm-bundler.js:1166)
   at componentEffect (runtime-core.esm-bundler.js:5201)

I checked everything on the local machine.

Can you share your code?

The problem was solved. It was all because of the problem areas in the code.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.