keystone icon indicating copy to clipboard operation
keystone copied to clipboard

Support larger range of node versions

Open wesbos opened this issue 3 years ago • 1 comments

Was on node 16.3, then upgraded to the latest node (17.2) and both times I got hit by this. Is it possible to lax up on this a little? If you support node 14.15, I'd imagine it would work just fine with everything else?

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-6/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-6/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-6/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@keystone-ui/[email protected]',
npm WARN EBADENGINE   required: { node: '^14.15 || ^16.13' },
npm WARN EBADENGINE   current: { node: 'v17.2.0', npm: '8.1.4' }
npm WARN EBADENGINE }

wesbos avatar Dec 07 '21 19:12 wesbos

Sad indeed to see Keystone marked as incompatible with the current version of node.

For those having this problem, you can bypass it, it will probably work fine. It was for me, at least. Here is how: $ yarn install --ignore-engines

DiesIrae avatar Mar 29 '22 15:03 DiesIrae

Hi there! Resurrecting this question. I'm hitting the same issue, and not seeing a way to ignore engines with npm.

AlanBreck avatar Aug 16 '22 21:08 AlanBreck

Thank you for resolving!

AlanBreck avatar Aug 17 '22 15:08 AlanBreck

Thanks for resurrecting @AlanBreck! We appreciate community feedback as it helps us know what's problematic for users :blue_heart:

dcousens avatar Aug 18 '22 01:08 dcousens

Happy to see it resolved too, thanks! 👍

DiesIrae avatar Aug 30 '22 08:08 DiesIrae