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

Install and build errors on v2.0.0 (latest) of plugin #19

Open
apokaliptis opened this issue Mar 15, 2024 · 1 comment
Open

Install and build errors on v2.0.0 (latest) of plugin #19

apokaliptis opened this issue Mar 15, 2024 · 1 comment

Comments

@apokaliptis
Copy link

Describe the bug

Issues with peer dependencies found on install ([email protected]), and two Vite build errors (DragSource, DropTarget).

To Reproduce

Steps to reproduce the behavior:

  1. For install error: pnpm add @sanity/hierarchical-document-list
  2. For build error (after above):
    Add hierarchicalDocumentList and hierarchyTree per installation instructions.
    Run: pnpm run dev and open browser to http://localhost:3333/

Expected behavior

To install into my Sanity project without errors and run correctly.

Screenshots

Screenshot 2024-03-15 105719
Screenshot 2024-03-15 112625

Which versions of Sanity are you using?

@sanity/cli (global)                3.34.0 (up to date)
@sanity/eslint-config-studio         3.0.1 (up to date)
@sanity/hierarchical-document-list   2.0.0 (up to date)
@sanity/icons                       2.11.2 (up to date)
@sanity/ui                          2.0.10 (up to date)
@sanity/vision                      3.34.0 (up to date)
sanity                              3.34.0 (up to date)

What operating system are you using?

Windows 11

Which versions of Node.js / npm are you running?

Node v21.7.0
pnpm 8.15.4 (via Corepack)

@apokaliptis
Copy link
Author

Installing with NPM seems to work, but I've been using pnpm with SvelteKit on the front end and Sanity on the backend up until now, so having to switch to a different package manager for Sanity is less than ideal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant