Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to use the latest version of this LSP from NPM? #1075

Closed
fdaciuk opened this issue Feb 23, 2025 · 17 comments
Closed

Is there a way to use the latest version of this LSP from NPM? #1075

fdaciuk opened this issue Feb 23, 2025 · 17 comments

Comments

@fdaciuk
Copy link

fdaciuk commented Feb 23, 2025

I'm using Neovim with Mason, but the most recent version I can install is v1.58.0:

Image

I can see that the last build failed to publish the package to NPM.

Is there anything I can do to help fix this?

@fdaciuk fdaciuk changed the title Is there a way to use this LSP from NPM? Is there a way to use the latest version of this LSP from NPM? Feb 23, 2025
@zth
Copy link
Collaborator

zth commented Feb 23, 2025

Hi! You're right, the release process to npm broke at some point. @fhammerschmidt do you have any ideas here, as to why the packages no longer are published to npm?

@fhammerschmidt
Copy link
Member

Might be just that the NPM token is expired? It's already 2 years old.
I cannot access the NPM org settings though. @cknitt can you update it?

@cknitt
Copy link
Member

cknitt commented Feb 25, 2025

Created and set a new token, let's see.

@cknitt
Copy link
Member

cknitt commented Feb 25, 2025

Yeah, works again!

@zth
Copy link
Collaborator

zth commented Feb 25, 2025

@fdaciuk can we close this then?

@fdaciuk
Copy link
Author

fdaciuk commented Feb 25, 2025

I think so @zth! But the latest version on NPM is still 1.58.0 🤔
Shouldn't it be 1.60.0?

I also saw that the latest-master tag is no longer published there, so I can't use it from Mason 🙈

@zth
Copy link
Collaborator

zth commented Feb 25, 2025

Hm, yes it should be. Looks like we'll need to investigate more then.

@zth
Copy link
Collaborator

zth commented Feb 26, 2025

I think this was finally sorted, and I released a 1.62.0. Could you try that @fdaciuk ?

@snatvb
Copy link

snatvb commented Feb 26, 2025

Hi guys,
Autocomplete works, but errors nope and "hover" time-to-time

Image

Image

Image

Image

Image

@zth
Copy link
Collaborator

zth commented Feb 26, 2025

@snatvb please open a separate issue with that, it looks unrelated to this particular issue.

@snatvb
Copy link

snatvb commented Feb 26, 2025

@zth I apologize
done: #1077

@fhammerschmidt
Copy link
Member

I think so @zth! But the latest version on NPM is still 1.58.0 🤔 Shouldn't it be 1.60.0?

I also saw that the latest-master tag is no longer published there, so I can't use it from Mason 🙈

@fdaciuk the latest master was successfully published on npm: https://www.npmjs.com/package/@rescript/language-server/v/1.63.0-next-1e935ad.0

As for the tag I have a possible fix here: #1078
But only if the issue is that the git tag is old.
Deleting and recreating it so that it is "new" might fix it.

@fdaciuk
Copy link
Author

fdaciuk commented Feb 26, 2025

I think this was finally sorted, and I released a 1.62.0. Could you try that @fdaciuk ?

It worked, thanks guys 😍

@fdaciuk
Copy link
Author

fdaciuk commented Feb 26, 2025

I think so @zth! But the latest version on NPM is still 1.58.0 🤔 Shouldn't it be 1.60.0?
I also saw that the latest-master tag is no longer published there, so I can't use it from Mason 🙈

@fdaciuk the latest master was successfully published on npm: https://www.npmjs.com/package/@rescript/language-server/v/1.63.0-next-1e935ad.0

As for the tag I have a possible fix here: #1078 But only if the issue is that the git tag is old. Deleting and recreating it so that it is "new" might fix it.

That worked too @fhammerschmidt, but I need to pass the exact version instead of just "rescriptls@latest-master". But it is working, thanks 😍

@fhammerschmidt
Copy link
Member

does rescriptls@next work?

@fdaciuk
Copy link
Author

fdaciuk commented Feb 26, 2025

Not with the tag. Mason only works with versions so I have to use rescriptls@1.63.0-next-1e935ad.0

@fdaciuk
Copy link
Author

fdaciuk commented Feb 26, 2025

But it is not a big problem to be honest @fhammerschmidt. You can close this issue if you want, the LSP is now usable again :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants