strangelove-ventures/heighliner

Axelar nodejs version mismatch

Opened this issue · 1 comments

I think v16.0.0 is what's required.

cd axelar-cgp-solidity
+ npm ci
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@axelar-network/axelar-cgp-solidity@4.3.0',
npm WARN EBADENGINE   required: { node: '>=16 <17' },
npm WARN EBADENGINE   current: { node: 'v18.14.1', npm: '9.1.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'hardhat@2.9.9',
npm WARN EBADENGINE   required: { node: '^12.0.0 || ^14.0.0 || ^16.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.14.1', npm: '9.1.2' }
npm WARN EBADENGINE }
 @axelar-network/axelar-cgp-solidity@4.3.0 flatten
> sh scripts/flatten-contracts.sh

Flattening contracts...
You are using a version of Node.js that is not supported by Hardhat, and it may work incorrectly, or not work at all.

Please, make sure you are using a supported version of Node.js.

It still builds but the warnings seems risky.

Rather than the current apk add --update nodejs npm jq py3-pip for axelar pre-build, would be nice to detect the required node version and install that specifically.