question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using with Akkoma

See original GitHub issue

Hi, How can I use this package to create an Akkoma bot? Akkoma has Mastodon API which I want to use, but masto.js gives an error due to different versions

TypeError: Invalid Version: 2.7.2 (compatible; Akkoma 3.3.0)
    at new SemVer (/home/master/work/fedibots/chadbot/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js:38:13)
    at compare (/home/master/work/fedibots/chadbot/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js:3:3)
    at Object.lt (/home/master/work/fedibots/chadbot/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js:2:29)
    at descriptor.value [as streamUser] (/home/master/work/fedibots/chadbot/node_modules/.pnpm/masto@4.4.1/node_modules/masto/dist/index.js:352:33)
    at main (/home/master/work/fedibots/chadbot/dist/index.js:34:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
neetcommented, Nov 15, 2022

@Andrmist I published a new beta version that comes with an option to disable version checking. Could you verify the option suppresses the error? You can try it with:

npm install masto@4.5.0-rc1

And then

const masto = await login({ ..., disableVersionCheck: true });
0reactions
github-actions[bot]commented, Nov 10, 2022

🎉 This issue has been resolved in version 4.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

AkkomaGang/akkoma: Magically expressive social media ...
akkoma - Magically expressive social media. ... Akkoma is written in Elixir and uses PostgreSQL for data storage. For clients it supports the...
Read more >
Unscrambled 25 words from letters in AKKOMA
You can unscramble AKKOMA (AAKKMO) into 25 words. Click to learn more about the unscrambled words in these 6 scrambled letters AKKOMA.
Read more >
pswilde/akkoma-podman - Codeberg
Akkoma is a fork of Pleroma. Its main advantages are its lightness and speed. Features. This podman set up is configured using the...
Read more >
Akkoma for YunoHost - GitHub
Overview. Akkoma is a microblogging server software that can federate (= exchange messages with) other servers that support ActivityPub.
Read more >
Akkoma.py - Python Package Health Analysis - Snyk
Learn more about Akkoma.py: package health score, popularity, security, maintenance, ... Ensure you're using the healthiest python packages.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found