Closed eviv3k closed 2 years ago
Strange. Works fine for me. Do you have any @types/prosemirror-* packages installed locally?
Oh, thank you!
I just have installed @types/prosemirror-commands
(npm i @types/prosemirror-commands --save-dev
)
Work fine now.
Glad the issue is fixed. But you don't have to install it manually, since its already a dependency of the package. https://github.com/sibiraj-s/ngx-editor/blob/master/projects/ngx-editor/package.json#L26
Issue resolved with version 13.0.0. Ohh man.. I struggled like anything with this issue.
Cleared npm cache, deleted node_modules folder. And Updated ngx-editor and reinstalled all packages. Now its fine.
Glad it is fixed. One of the reason, why dependencies must be pinned.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread.
What happened?
On production, we are facing the error Module '"prosemirror-commands"' has no exported member 'type'.
I have commented on the PR code: https://github.com/sibiraj-s/ngx-editor/commit/9e7f1ad9d58654f048962df2e82ee941b3747d5c
Version
v12.4.1
Angular Version
v13.3.
What browsers are you seeing the problem on?
No response
Link to reproduce
No response
Relevant log output