Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version 2.28.0 Cannot find modules codex-notifier, codex-tooltip #2462

Closed
MussaratAziz opened this issue Aug 30, 2023 · 5 comments
Closed

version 2.28.0 Cannot find modules codex-notifier, codex-tooltip #2462

MussaratAziz opened this issue Aug 30, 2023 · 5 comments
Labels

Comments

@MussaratAziz
Copy link

After update i am getting following errors

Error: node_modules/@editorjs/editorjs/types/api/notifier.d.ts:1:78 - error TS2307: Cannot find module 'codex-notifier' or its corresponding type declarations.

1 import {ConfirmNotifierOptions, NotifierOptions, PromptNotifierOptions} from 'codex-notifier';
~~~~~~~~~~~~~~~~
Error: node_modules/@editorjs/editorjs/types/api/tooltip.d.ts:4:46 - error TS2307: Cannot find module 'codex-tooltip' or its corresponding type declarations.

4 import {TooltipContent, TooltipOptions} from 'codex-tooltip';
~~~~~~~~~~~~~~~

Thanks

@mrvdot
Copy link

mrvdot commented Sep 1, 2023

I was able to fix that by just manually installing them:

npm i -S codex-notifier codex-tooltip

Looks like they were listed as dev dependencies, so they aren't installed by default anymore

@MussaratAziz
Copy link
Author

I was able to fix that by just manually installing them:

npm i -S codex-notifier codex-tooltip

Looks like they were listed as dev dependencies, so they aren't installed by default anymore

Thank you @mrvdot

@Fiehra
Copy link

Fiehra commented Oct 6, 2023

installing the packages in my project did not fix the error for me. it is still crying about the missing modules. am i missing something? i just added the editorJS package and it didn work out of the box. also it looks to me like its missing type definition files

@MussaratAziz
Copy link
Author

MussaratAziz commented Oct 10, 2023

i dont know about your installed packages but i have some thing like this i am using 2.29 rc its similar for 2.28.0
"dependencies":{
"@editorjs/editorjs": "^2.29.0-rc.0",
"codex-notifier": "^1.1.2",
"codex-tooltip": "^1.0.5"
} and editorjs is displayed in my container. Hope it helps

Sozialarchiv added a commit to Sozialarchiv/editor.js that referenced this issue Oct 12, 2024
neSpecc added a commit that referenced this issue Nov 6, 2024
* notifier and tooltip, fix closes #2591, #2390, #2462

* Update CHANGELOG.md

---------

Co-authored-by: Peter <[email protected]>
@neSpecc
Copy link
Member

neSpecc commented Nov 6, 2024

Resolved by #2842

@neSpecc neSpecc closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants