kkharji / xbase

Develop Apple software products within your favorite editor.
MIT License
536 stars 17 forks source link

Can't install #159

Closed spqw closed 1 year ago

spqw commented 1 year ago

Hey – I just discovered this project and I find it very interesting. But I couldn't install it. When running make install I get the following error [1]. Indeed, it seems like the repo it tries to fetch from doesn't exist anymore https://github.com/kkharji/rust-typescript-type-def Is the project in a state where it can be built right now? Isn't there another repo it can resolve too instead?

[1]

❯ make install
No matching processes belonging to you were found
    Updating git repository `https://github.com/kkharji/rust-typescript-type-def`
warning: spurious network error (2 tries remaining): unexpected http status code: 404; class=Http (34)
warning: spurious network error (1 tries remaining): unexpected http status code: 404; class=Http (34)
error: failed to get `typescript-type-def` as a dependency of package `xbase v0.3.0 (/Users/stephanegarti/home/code/repos/xbase)`

Caused by:
  failed to load source for dependency `typescript-type-def`

Caused by:
  Unable to update https://github.com/kkharji/rust-typescript-type-def?branch=feat/replace_deprecated_functions_and_impl_pathbuf#057d15d7

Caused by:
  failed to fetch into: /Users/stephanegarti/.cargo/git/db/rust-typescript-type-def-1fda7b4ae62f68f3

Caused by:
  failed to authenticate when downloading repository

  * attempted to find username/password via `credential.helper`, but maybe the found credentials were incorrect

  if the git CLI succeeds then `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  unexpected http status code: 404; class=Http (34)
make: *** [install] Error 101
kkharji commented 1 year ago

Hey, @spqw, my bad forgot to switch to crates.io version of this dependency.

Pushing a fix in a few seconds

Thanks for reporting

kkharji commented 1 year ago

Feel free to reopen if the issue still persist