pengx17 / pengx17/logseq-plugin-template-react

Template does not work

Open
#841 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
147
Forks
19
Avg merge
1m
Merged PRs (30d)
2

Description

I get this error when trying to use this plugin:

Uncaught TypeError: Cannot read properties of null (reading 'dataset')
    at br.<anonymous> (lsplugin.core.js:2:92551)
    at a.emit (lsplugin.core.js:2:28521)
    at X.<anonymous> (lsplugin.core.js:2:88623)
    at lsplugin.core.js:2:53506
    at Array.forEach (<anonymous>)
    at X.listener (lsplugin.core.js:2:53491)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The only location provided is the bundled stack frame lsplugin.core.js:2:92551; first reproduce the error while using the template and inspect that frame and the surrounding plugin setup. Done means identifying the null value's triggering path and confirming the template works without the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript, vite
Domain
frontend, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.