# Npm ERR! engine Unsupported engine

**URL:** https://discourse.nodered.org/t/npm-err-engine-unsupported-engine/85284
**Category:** Industrial
**Created:** [7 February 2024 08:55 UTC](https://discourse.nodered.org/t/npm-err-engine-unsupported-engine/85284 "2024-02-07T08:55:31Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [7 February 2024 09:18 UTC](https://discourse.nodered.org/t/npm-err-engine-unsupported-engine/85284/4 "2024-02-07T09:18:36Z")

</div>

Indeed you must have got the mysql node installed on the device even if you don't need/use it. so you need to uninstall it first. I'm not sure how you do that on that particular device - but on standard linux machine you would go into your .node-red directory and run `npm uninstall node-red-node-mysql` and then reboot.  
Sadly by then trying to upgrade Node-RED you have updated a load of other libraries and nodes which are now broken - so yes - you are now in a place where either you go back to clean install and just install the nodes you need (and not mysql) - or as Colin says find out how/if the device can be updated to use nodejs 18 or 20.

---

_[View the full topic](https://discourse.nodered.org/t/npm-err-engine-unsupported-engine/85284)._
