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

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

Open
odanado opened this issue Feb 6, 2025 · 0 comments
Open

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

odanado opened this issue Feb 6, 2025 · 0 comments

Comments

@odanado
Copy link
Member

odanado commented Feb 6, 2025

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

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

1 participant