octavioamu
octavioamu
RRailway
Created by octavioamu on 6/7/2023 in #✋|help
Node version
Im updating my cms directus to the last version "10.2.1" that version only runs with node LTS 18.16.0 so in my package.json I added also
"engines": {
"node": "18.16.0"
}
"engines": {
"node": "18.16.0"
}
But when trying to build seems docker doesn't have that node version. How I can configure railways to use that node version? error:
#10 13.07 npm ERR! code EBADENGINE
#10 13.07 npm ERR! engine Unsupported engine
#10 13.07 npm ERR! engine Not compatible with your version of node/npm: [email protected]
#10 13.07 npm ERR! notsup Not compatible with your version of node/npm: [email protected]
#10 13.07 npm ERR! notsup Required: {"node":"18.16.0"}
#10 13.07 npm ERR! notsup Actual: {"npm":"8.19.2","node":"v18.12.1"}
#10 13.08
#10 13.08 npm ERR! A complete log of this run can be found in:
#10 13.08 npm ERR! /root/.npm/_logs/2023-06-07T16_11_26_937Z-debug-0.log
#10 ERROR: process "/bin/bash -ol pipefail -c npm i" did not complete successfully: exit code: 1
#10 13.07 npm ERR! code EBADENGINE
#10 13.07 npm ERR! engine Unsupported engine
#10 13.07 npm ERR! engine Not compatible with your version of node/npm: [email protected]
#10 13.07 npm ERR! notsup Not compatible with your version of node/npm: [email protected]
#10 13.07 npm ERR! notsup Required: {"node":"18.16.0"}
#10 13.07 npm ERR! notsup Actual: {"npm":"8.19.2","node":"v18.12.1"}
#10 13.08
#10 13.08 npm ERR! A complete log of this run can be found in:
#10 13.08 npm ERR! /root/.npm/_logs/2023-06-07T16_11_26_937Z-debug-0.log
#10 ERROR: process "/bin/bash -ol pipefail -c npm i" did not complete successfully: exit code: 1
Project id: 151b2302-1f55-438d-9d30-a2d6311ce39d Thanks
132 replies