Multiple module and variables not found
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 406
- Forks
- 131
- Avg merge
- 2h 32m
- Merged PRs (30d)
- 2
Description
I am using yarn, so I installed it with yarn add jodit-react. I copied functional component example of read me file, and I am getting multiple errors like below:
Cannot find module 'autobind-decorator'. (node_modules/jodit/src/core/selection/select.ts)
node_modules/jodit/src/core/dom.ts' is not under 'rootDir' (jodit/src/core/selection/select.ts)
Property 'component' does not exist on type 'HTMLElement'. (node_modules/jodit/src/core/helpers/utils/utils.ts)
Cannot find name 'isProd'.
Cannot find name 'appVersion'.
etc. What is the reason behind these errors?
PS: I am using typescript
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the README functional-component example after installing jodit-react with yarn in a TypeScript project. Inspect the reported paths under node_modules/jodit/src and compare the package's dependencies and TypeScript configuration against the module, rootDir, and type errors. Done means the example builds without the reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100