genotrance / nimtreesitter

treesitter is a Nim wrapper for the tree-sitter library
MIT License
25 stars 4 forks source link

Nimble install fails #4

Open geotre opened 3 years ago

geotre commented 3 years ago
nimble install treesitter_typescript

Downloading https://github.com/genotrance/nimtreesitter using git (subdir is 'treesitter_typescript')
Setting up Git repo: https://github.com/tree-sitter/tree-sitter-typescript
Pulling repository
Creating treesitter_typescript/typescript/typescript/src/parser.h
Creating treesitter_typescript/typescript.nim
  Verifying dependencies for treesitter_typescript@0.1.1
   Warning: No .nimble or .nimble-link file found for /home/g/.nimble/pkgs/treesitter_typescript-0.1.1
      Info: Dependency on nimgen@>= 0.5.0 already satisfied
  Verifying dependencies for nimgen@0.5.1
      Info: Dependency on c2nim@>= 0.9.14 already satisfied
  Verifying dependencies for c2nim@0.9.14
      Info: Dependency on regex@>= 0.10.0 already satisfied
  Verifying dependencies for regex@0.12.0
      Info: Dependency on unicodedb@>= 0.7.2 already satisfied
  Verifying dependencies for unicodedb@0.7.2
      Info: Dependency on unicodeplus@>= 0.5.0 already satisfied
  Verifying dependencies for unicodeplus@0.5.0
      Info: Dependency on unicodedb@>= 0.7 already satisfied
  Verifying dependencies for unicodedb@0.7.2
      Info: Dependency on treesitter@>= 0.1.1 already satisfied
  Verifying dependencies for treesitter@0.1.1
      Info: Dependency on nimgen@>= 0.5.0 already satisfied
  Verifying dependencies for nimgen@0.5.1
      Info: Dependency on c2nim@>= 0.9.14 already satisfied
  Verifying dependencies for c2nim@0.9.14
      Info: Dependency on regex@>= 0.10.0 already satisfied
  Verifying dependencies for regex@0.12.0
      Info: Dependency on unicodedb@>= 0.7.2 already satisfied
  Verifying dependencies for unicodedb@0.7.2
      Info: Dependency on unicodeplus@>= 0.5.0 already satisfied
  Verifying dependencies for unicodeplus@0.5.0
      Info: Dependency on unicodedb@>= 0.7 already satisfied
  Verifying dependencies for unicodedb@0.7.2
 Installing treesitter_typescript@0.1.1
oserr.nim(94)            raiseOSError
Error: unhandled exception: File exists
Additional info: "/tmp/nimble_10505/githubcom_genotrancenimtreesitter/treesitter_typescript/treesitter_typescript/typescript/tsx/corpus/common" [OSError]

Not sure where exactly this error is coming from, any tips to debug?