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 }
Solution:
just set engines.node to 18 in your package.json
Jump to solution
6 Replies
Percy
Percy12mo ago
Project ID: N/A
stevenurk9494
stevenurk9494OP12mo ago
N/A
Solution
Brody
Brody12mo ago
just set engines.node to 18 in your package.json
stevenurk9494
stevenurk9494OP12mo ago
Ah okay. And railway will than select a newer version?
Brody
Brody12mo ago
it would be some version of 18, i forget what version exactly
stevenurk9494
stevenurk9494OP12mo ago
Ah okay. Nice. I'll do that. Thanks!
Want results from more Discord servers?
Add your server