How to fix “Unsupported engine” error when running NPM for NodeJS

Bryant Jimin Son
2 min readMay 12, 2024

So, here is a nasty error. I got the following error while running npm installthrough NPM:

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'react-mongodb-app@1.0.0',
npm WARN EBADENGINE required: { node: '14.x', npm: '6.x' },
npm WARN EBADENGINE current: { node: 'v21.7.3', npm: '10.5.0' }
npm WARN EBADENGINE }

Or, it looks like the following.

--

--

Bryant Jimin Son

A cloud practitioner talking about technology, travels & career tips. But I will sometimes cover financial advises and some random stuffs.