When generating a package-lock.json
file using npm install
, I get this error:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'app@1.0.0',
npm WARN EBADENGINE required: { node: '16.0.0' },
npm WARN EBADENGINE current: { node: 'v16.10.0', npm: '7.24.0' }
npm WARN EBADENGINE }
I'm a little confused here. It requires Node v16.0.0, and that's the one I'm using. Isn't npm v7.x.x compatible with that version of node?