YunoHost-Apps / mastodon_ynh

Free, open-source social network for YunoHost
https://joinmastodon.org/
GNU Affero General Public License v3.0
84 stars 34 forks source link

V4: what is the best way to increase max character in a toot ? node.js should be upgraded #352

Closed isAAAc closed 1 year ago

isAAAc commented 1 year ago

Describe the bug

i'm trying to increase the max character in a toot setting. i followed this link: https://www.draklyckan.se/2021/11/how-to-increase-the-character-limit-for-toots-in-mastodon/

But when i need to run the step 6. Enter the live directory and recompile Mastodon (afer adapted the command) i have this error:

yarn install v1.22.19
[1/6] Validating package.json...
error @mastodon/mastodon@: The engine "node" is incompatible with this module. Expected version ">=14". Got "6.17.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Webpacker requires Node.js ">=10.17.0" and you are using v6.17.1
Please upgrade Node.js https://nodejs.org/en/download/
Exiting!

Context

Steps to reproduce

but is is failing with this error:

yarn install v1.22.19
[1/6] Validating package.json...
error @mastodon/mastodon@: The engine "node" is incompatible with this module. Expected version ">=14". Got "6.17.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Webpacker requires Node.js ">=10.17.0" and you are using v6.17.1
Please upgrade Node.js https://nodejs.org/en/download/
Exiting!

Expected behavior

i would the mastodon recompilation is OK with the max characters increased for all toots (in the web browser AND in tusky)

Thx for your help

isAAAc commented 1 year ago

the max character toots works only in tusky, not in the webapp :thinking:

yalh76 commented 1 year ago

you should ask at Mastodon repository

isAAAc commented 1 year ago

i'll use WriteFreely for long post ;)

nschiwy commented 8 months ago

@isAAAc did you ever get this resolved? I recently set up a new Mastodon instance using yunohost and was following a similar guide but am also experiencing the issue with the web not updating while the API (and therefore apps) allowing the longer character limit.