How to fix “Unsupported engine” error when running NPM for NodeJS
2 min readMay 12, 2024
So, here is a nasty error. I got the following error while running npm install
through 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.