hierarchical-document-list
hierarchical-document-list copied to clipboard
Install and build errors on v2.0.0 (latest) of plugin
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:
- For install error:
pnpm add @sanity/hierarchical-document-list
- For build error (after above):
Add
hierarchicalDocumentList
andhierarchyTree
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
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)
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.