Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Axelar nodejs version mismatch #92

Open
DavidNix opened this issue Feb 21, 2023 · 1 comment
Open

Axelar nodejs version mismatch #92

DavidNix opened this issue Feb 21, 2023 · 1 comment

Comments

@DavidNix
Copy link
Contributor

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/[email protected]',
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: '[email protected]',
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/[email protected] 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.

@DavidNix DavidNix changed the title Axelar nodjs version mismatch Axelar nodejs version mismatch Feb 21, 2023
@agouin
Copy link
Member

agouin commented Feb 22, 2023

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.

@danbryan danbryan removed their assignment Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants