-
Notifications
You must be signed in to change notification settings - Fork 85
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
Offline installation with zowe-cli.tgz package in error --> npm ERR! cb() never called! / http fetch GET 407 https://regisfetry.npmjs.org/cpu-features #2099
Comments
Thank you for creating a bug report. |
@FALLAI-Denis Based on the logs your environment is using Node.js 14 and npm@6. Zowe CLI only supports active LTS (Long Term Support) releases of Node, which currently are Node.js 18 and 20. We believe the offline install error should be fixed in newer versions of npm which is distributed with Node. Please update your installation of Node.js to an actively supported version. |
Hi @t1m0thyj, A priori this is not a node.js / npm version problem, but rather an Internet access problem. By using a proxy server, (Artifactory), to access the npmjs registry, the installation could be carried out both in download mode, ( The problem is that the This problem should be fixed to allow 100% offline installation. Furthermore, in the case of installation by
This problem does not appear with the |
With Node 16, 18, and 20, Zowe CLI can be installed offline from the zowe-cli.tgz available at zowe.org and plug-in installation works without any issues. However, with Node 14, the offline installation fails and plug-ins cannot be installed. Zowe CLI supports LTS versions of Node that are actively maintained (currently Node 18 and 20). https://docs.zowe.org/stable/user-guide/systemrequirements-cli Because these issues only occur in an unsupported version of Node.js, no fix is planned. |
Describe the bug
We don't have the possibility to install Zowe CLI using npm and downloading from the npmjs registry on the internet, (enterprise proxy blocking Internet access outside of web navigator).
We therefore carry out installations from the zowe-cli.tgz packages previously downloaded from the zowe.org internet site.
Expected and actual results
Details about the behavior:
npm install -g zowe-cli.tgz
Installation successfull...
The installation fails with the following messages:
Apparently, although the installation is intended to be offline, there is an attempt to download the component
cpu-features
(line 292) from the npmjs registry, which triggers in our context an http 407 status:Describe your environment
zowe --version
): N/Azowe plugins list --short
): N/Anode --version
,npm --version
):v14.18.0
/6.14.15
Windows 10 Enterprise 22H2 x64
Additional context
Direct installation of the
cpu-features-0.0.1.tgz
package triggers another error this time on the pluginnan
:http fetch GET 407 https://registry.npmjs.org/nan
The text was updated successfully, but these errors were encountered: