fuels-ts icon indicating copy to clipboard operation
fuels-ts copied to clipboard

feat: create-fuels reject wrong node version

Open cold-briu opened this issue 11 months ago • 0 comments

Motivation

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^18.18.2 || ^20.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }

This warn should exit the CLI

Usage example

$npx create fuels
ERR: wrong node version
npm ERR! Exit status 1

Possible implementations

No response

cold-briu avatar Mar 20 '24 14:03 cold-briu