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.

generator-easy-ui5 installation failed

See original GitHub issue

Hi all,

Trying to install npm install -g generator-easy-ui5 the following error messages occur:

error path C:\node-v16.13.0-win-x64\node_modules\generator-easy-ui5
error command failed
error command C:\WINDOWS\system32\cmd.exe /d /s /c node generators/app/postinstall
error C:\node-v16.13.0-win-x64\node_modules\generator-easy-ui5\node_modules\@octokit\request\dist-node\index.js:108
error     throw new requestError.RequestError(error.message, 500, {
error           ^
error
error RequestError [HttpError]: request to https://api.github.com/repos/ui5-community/generator-ui5-project/branches/main failed, reason: connect ECONNREFUSED 140.82.121.5:443
error     at C:\node-v16.13.0-win-x64\node_modules\generator-easy-ui5\node_modules\@octokit\request\dist-node\index.js:108:11
error     at processTicksAndRejections (node:internal/process/task_queues:96:5)
error     at async C:\node-v16.13.0-win-x64\node_modules\generator-easy-ui5\generators\app\postinstall.js:44:21 {
error   status: 500,
error   request: {
error     method: 'GET',
error     url: 'https://api.github.com/repos/ui5-community/generator-ui5-project/branches/main',
error     headers: {
error       accept: 'application/vnd.github.v3+json',
error       'user-agent': 'generator-easy-ui5 octokit-rest.js/18.12.0 octokit-core.js/3.5.1 Node.js/16.13.0 (win32; x64)'
error     },
error     request: { hook: [Function: bound bound register] }
error   }
error }
verbose exit 1

I also tried to install another generator, for instance npm install -g generator-jhipster and no error messages occur:

npm install -g generator-jhipster
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.3.2: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

added 573 packages, and audited 574 packages in 35s

59 packages are looking for funding
  run `npm fund` for details

9 moderate severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

What am I doing wrong?

Thanks

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
softshippercommented, Dec 1, 2021

I have still problem with the proxy. Need to figure out first.

0reactions
petermuessigcommented, Feb 1, 2022

Let’s continue on #79 - hence, I will close this issue here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

UI5 generator not able to install in VSCode - SAP Community
This seems to be a bug in the new released version 2.0.0 of the generator-easy-ui5 module. The previous version 1.3.8 worked (as global...
Read more >
generator-easy-ui5 - npm
Start using generator-easy-ui5 in your project by running `npm i generator-easy-ui5`. ... Install. npm i generator-easy-ui5 ...
Read more >
Learn App Development in UI5 and TypeScript (Workshop)
01:04:46 Q/A: How To Troubleshoot Error "Cannot find type definition ... Easy-UI5: https://github.com/SAP/ generator-easy... UI5 TypeScript ...
Read more >
New Route In Yeoman Generator Redirects To Home Page - ADocLib
... install g yo generatoreasyui5 Verify your installation to see if Yeoman has ... @jbalsas it's the same error listed on the forums...
Read more >
Easy UI5 Generator - Scaffolding UI5 projects made easy
1. Create a new OpenUI5/SAPUI5 project 2. Provide the name of the project 3. Enter namespace of the project
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