breeku / trackmania-api-node

npm module for Trackmania2020 API
https://trackmania-api-node.netlify.app/
MIT License
13 stars 3 forks source link

npm i trackmania-api-node is not up-to-date #29

Closed Sigeth closed 3 years ago

Sigeth commented 3 years ago
breeku commented 3 years ago

Hello,

Try npm update

https://docs.npmjs.com/updating-packages-downloaded-from-the-registry

Sigeth commented 3 years ago

Hello, I tried what you've said and it's not in npm outdated anymore, but I still can't access to getMatchmakingRanks

Anyway, thanks for helping me :D

breeku commented 3 years ago

npm i trackmania-api-node@latest should work.

ah, as npm update depends on the semver you install the package with so if it doesn't have one the command will do nothing. You can see this with npm update --dd. My b https://stackoverflow.com/a/25861938/9785691

The more you know :d

Sigeth commented 3 years ago

Ok thanks a lot for your help it works now !