Skip to content

tiptap-extensions is using tiptap-utils package without specifying it as dependency #709

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

Closed
Demivan opened this issue May 24, 2020 · 1 comment
Labels
Type: Bug The issue or pullrequest is related to a bug

Comments

@Demivan
Copy link

Demivan commented May 24, 2020

Describe the bug
When using yarn v2 (berry) you get error when using tiptap-extensions package.

Steps to Reproduce / Codesandbox Example
Steps to reproduce the behavior:

  1. Use yarn v2 as your package manager
  2. Add tiptap-extensions package
  3. Try building project (I'm using webpack)
  4. See error:
Module not found: Error: A package is trying to access another package without the second one being listed as a dependency of the first one

Required package: tiptap-utils (via "tiptap-utils")
Required by: tiptap-extensions

Expected behavior
No errors should be produced.

Environment

  • OS: Windows
  • Package manager: yarn v2 (berry)

Additional context
Yarn v2 is now much stricter about dependencies and does not allow for package to access another package if it is not specified in package.json

@Demivan Demivan added the Type: Bug The issue or pullrequest is related to a bug label May 24, 2020
@hanspagel
Copy link
Contributor

Thanks for reporting! Fixed with the latest version of tiptap-extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug The issue or pullrequest is related to a bug
Projects
None yet
Development

No branches or pull requests

2 participants