Thank you!

Is there a special MW way of how to update node version of an extension
we're working on?
Or is it plain nvm downloads?

*Viktoria Hillerud Ahlbäck*
*Developer*
Wikimedia Sverige (WMSE)



Den tis 9 dec. 2025 kl 11:52 skrev Timo Tijhof <[email protected]>:

> Yes, eslint-config-wikmeida v0.32.0 (and later) requires Node.js 20 (or
> later).
>
>
> https://github.com/wikimedia/eslint-config-wikimedia/blob/v0.32.3/package.json#L24
>
>
> https://github.com/wikimedia/eslint-config-wikimedia/commit/3ce936db816e7cde99796ddb40540739399eed3b
>
>
> On Tue, 9 Dec 2025, at 09:48, Viktoria Hillerud wrote:
>
> Hi,
>
> I'm working on the Wikispeech extension for MediaWiki and I'm currently
> running into an ESLint-related issue when I run npm run test Here's the
> error:
>
> Warning: Failed to load plugin 'jsdoc' declared in '.eslintrc.json » 
> eslint-config-wikimedia/server » ./common » ./jsdoc': Invalid regular 
> expression flags
> Referenced from: node_modules/eslint-config-wikimedia/jsdoc.json
> Aborted due to warnings.
>
> We are currently using *Node v18.19.1*, and it looks like
> *[email protected]* pulls in *[email protected]*,
> which requires *Node ≥ 20.11.0*? Is that perhaps why it crashes due to
> unsupported regular expression flags in Node 18? Is it confirmed that
> upgrading to Node 20+ is now required for the current Wikimedia ESLint
> configuration?
> Kind regards,
> *Viktoria Hillerud Ahlbäck*
> *Developer*
> Wikimedia Sverige (WMSE)
> _______________________________________________
> Wikitech-l mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>
>
> _______________________________________________
> Wikitech-l mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
_______________________________________________
Wikitech-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to