Skip to content

Change the settings in the engines field of package.json #7

Description

@odanado

The engines field in package.json specifies fixed versions of Node.js and npm.
ref:

liff-cli/package.json

Lines 26 to 29 in 6493f64

"engines": {
"node": "22.2.0",
"npm": "10.7.0"
},

Fixing these versions is inconvenient for users of LIFF CLI.

npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@line/liff-cli@0.2.0',
npm warn EBADENGINE   required: { node: '22.2.0', npm: '10.7.0' },
npm warn EBADENGINE   current: { node: 'v20.18.0', npm: '10.8.2' }
npm warn EBADENGINE }

By allowing broader versions, users can use LIFF CLI without warnings or errors.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions