question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Unable to install this module

See original GitHub issue

Hi,

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:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ashokrepliescommented, Apr 13, 2021

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.

0reactions
ashokrepliescommented, Apr 13, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found