Error: Unable to install this module
See original GitHub issueHi,
npm install -g generator-easy-ui5 command result in an error.
$ npm install -g generator-easy-ui5
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to https://api.github.com/generator-easy-ui5/generator-easy-ui5/generator-easy-ui5 failed, reason: getaddrinfo ENOTFOUND api.github.com
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
I have tried almost everything available to install this module but failed.
Attached here the list of commands I have tried and the last log file which may be useful for your troubleshooting.
command_prompt_cmds.txt 2021-04-09T19_26_47_372Z-debug.log
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Unable to Download from URI, PowerShell Install-Module Error
Fix Unable to Download from URI, PowerShell Install-Module Error on your Windows 11/10 system by applying the suggestions in this post.
Read more >PowerShell Install-Module Error: Unable to Download from URI
The issue occurs when PowerShell tries to connect to the NuGet repository using legacy TLS/SSL protocols instead of the current TLS 1.2. Check ......
Read more >Unable To Install PowerShell Modules - 250 Hello
When you try to install a PowerShell module or connect to the PowerShell Repository you may get the below error messages: WARNING: Unable...
Read more >Cannot install powershell modules - Microsoft Q&A
My problem is that I am not able to install modules to my powershell console. Example: Install-module -Name AzureAD.
Read more >How to Fix Unable to Download from URI, PowerShell Install ...
Steps by steps guide: https://bonguides.com/how-to-fix- unable -to-download-from-uri-powershell- install - module - error /- Unable to Download from ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Found the issue with the certificate from the https://registry.npmjs.org. Because npm could not access this site due to the certificate error, it goes to the github and results in error.
I was advised to switch off the proxy during the setup which helped solve the certificate error. Also there was another issue where npm redirecting to github as a result of a registry key. I ran the command “npm config delete registry” to fix that problem.
I have finally installed this module. Thank you for your help. I will close this issue.
I am going to talk the corporate network team first and if they cant help me then I will come back and let you know.
Thank you
Kind regards Kumar