emacs-typescript / typescript.el

TypeScript-support for Emacs
GNU General Public License v3.0
266 stars 80 forks source link

`typescript-mode` is failing to download #169

Closed ndrewtl closed 2 years ago

ndrewtl commented 2 years ago

M-x package-install RET typescript-mode

https://melpa.org/packages/typescript-mode-20220703.1052.tar: Not found
josteink commented 2 years ago

That sounds like a MELPA-issue more than a typescript-mode issue. I can edit the readme to trigger a new build though and see if that helps? ;)

ndrewtl commented 2 years ago

I tried package-install <RET> typescript-mode, and it looks like the latter package is broken :(. So I don't think you could do anything here. Thanks for your help!

josteink commented 2 years ago

It's probably an issue with the MELPA buid upstream.

I've made some changes to the readme in this repo, hoping that will trigger a rebuild on MELPA's end. That can take anywhere from 5 minutes to 24 hours though.

ndrewtl commented 2 years ago

Thanks! And for those who like me, are emacs newbies and are looking for a workaround, I fixed the problem by manually installing typescript-mode. I did the following:

  1. Download typescript-mode from https://melpa.org/#/typescript-mode
  2. You should now have a tarball file. For me, it was called ~/Downloads/typescript-mode-20220705.2151.tar
  3. Open emacs, and run M-x package-install-file <RET> ~/Downloads/typescript-mode-20220705.2151.tar
  4. Re-run M-x package-install <RET> typescript-mode