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

Issue with docs.zowe.org/stable/extend/extend-apiml/onboard-nodejs-enabler #4145

Open
dkelosky opened this issue Feb 3, 2025 · 0 comments
Open

Comments

@dkelosky
Copy link
Contributor

dkelosky commented Feb 3, 2025

Description

To install Node.js dependency the instructions state to run "npm i @zowe/apiml-onboarding-enabler-nodejs@latest --dev-save"

However, I think this should be --save. --dev-save "works" accidentally in the same way npm i @zowe/apiml-onboarding-enabler-nodejs@latest --whatever-save works:

bash-4.3$ npm i @zowe/apiml-onboarding-enabler-nodejs@latest --whatever-save
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@zowe/apiml-onboarding-enabler-nodejs@3.1.7',
npm WARN EBADENGINE   required: { npm: '=10.9.2', node: '=20.18.1' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '10.2.3' }
npm WARN EBADENGINE }

added 5 packages, and audited 6 packages in 4s

found 0 vulnerabilities

However, --dev-save might mistakenly lead users to enter --save-dev which has the [unintentional] behavior of adding this required package to devDependenices.

Pages to Update

Screenshots

Expected behavior

Additional context

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