Getting errors when deploying Strapi because of old NodeJS version
I am getting these errors, when will NodeJS be updatet to a newer version?
#10 3.188 npm WARN EBADENGINE
Unsupported engine {
#10 3.188 npm WARN EBADENGINE package: '@strapi/[email protected]',
#10 3.188 npm WARN EBADENGINE required: { node: '>=18.0.0 <=20.x.x', npm: '>=6.0.0' },
#10 3.188 npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
#10 3.188 npm WARN EBADENGINE }
#10 3.189 npm WARN EBADENGINE Unsupported engine {
#10 3.189 npm WARN EBADENGINE package: '@strapi/[email protected]',
#10 3.189 npm WARN EBADENGINE required: { node: '>=18.0.0 <=20.x.x', npm: '>=6.0.0' },
#10 3.190 npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
#10 3.190 npm WARN EBADENGINE }
#10 3.191 npm WARN EBADENGINE Unsupported engine {
#10 3.191 npm WARN EBADENGINE package: '@strapi/[email protected]',
#10 3.191 npm WARN EBADENGINE required: { node: '>=18.0.0 <=20.x.x', npm: '>=6.0.0' },
#10 3.191 npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
#10 3.191 npm WARN EBADENGINE }
#10 3.200 npm WARN EBADENGINE }
6 Replies
Project ID:
N/A
N/A
Solution
just set
engines.node
to 18
in your package.jsonAh okay. And railway will than select a newer version?
it would be some version of 18, i forget what version exactly
Ah okay. Nice. I'll do that. Thanks!