fyi: NPM Issue causes conflicting peerDependency
with tree-sitter-swift
.
#19
Labels
bug
Something isn't working
peerDependency
with tree-sitter-swift
.
#19
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)tree-sitter 0.24.5
Describe the bug
Installation alongside
tree-sitter-swift
fails, reporting a conflictingpeerDependency
version for thetree-sitter
dependency.This is likely due to this bug in
npm
. Reporting here because I've been able to work around this issue by installingtree-sitter-cli
. (No idea why this works.)Steps To Reproduce/Bad Parse Tree
npm install tree-sitter-swift
npm install tree-sitter-objc
Expected Behavior/Parse Tree
Installation of the package should succeed.
Repro
This will fail.
If we run
npm i tree-sitter-cli
and try again, thennpm i tree-sitter-objc
succeeds.The text was updated successfully, but these errors were encountered: