-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
In my Vite + React + Typescript app, I've properly installed the @editorjs/embed tool, as well as other tools like the maker, code, and link tools. I have also looked into the node_modules and confirmed that they are well installed. But I keep getting the warning that they can't be couldn't be found when I tried importing them. So I thought maybe it was a Vite issue, then I tried it again in my NextJs app, yet the same problem. Please what could be wrong and how can it be fixed?
The marker tool for example says :
'Marker' is declared but its value is never read.ts(6133)
Could not find a declaration file for module '@editorjs/marker'. 'c:/Users/sewki/admin-zof/node_modules/@editorjs/marker/dist/marker.mjs' implicitly has an 'any' type.
Try `npm i --save-dev @types/editorjs__marker` if it exists or add a new declaration (.d.ts) file containing `declare module '@editorjs/marker';`ts(7016)
And the link tool:
Cannot find module '@editorjs/code' or its corresponding type declarations.ts(2307)

Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers