SAP / generator-easy-ui5

Meta-generator various project types within the UI5 Universe
https://blogs.sap.com/2021/04/09/easy-ui5-3.0-from-community-contributions-to-community-plugins/
Apache License 2.0
235 stars 72 forks source link

Issue with easy ui5 project creation #112

Closed developedbysom closed 2 years ago

developedbysom commented 2 years ago

Hello,

Issue with easy ui5 project creation

Easy-Ui5 version:

Run yo easy-ui5 --plugins to print all relevant version strings Node.js: v16.13.0 yeoman-environment: 3.10.0 generator-easy-ui5: 3.5.0 home: C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\generator-easy-ui5 pluginsHome: C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\generator-easy-ui5\plugin-generators

Available generators:

Steps to reproduce the problem:

  1. Step 1 Run yo from command line / use template wizard
  2. Step 2 select easy-ui5 followed by project
  3. Step 3

What is the expected result?

Should prompt for project creation details

What happens instead?

✖ An error occurred while running easy-ui5:app#prompting Error

Cannot find module 'object-assign-deep'

Any other information? (attach screenshot if possible)

This issue persists from CLI as well as from Template.

petermuessig commented 2 years ago

Hi Somnath,

the issue is related to https://github.com/ui5-community/generator-ui5-project/issues/27. It is a bit confusing error. Can you try the following command and see whether this fixes the issue?

yo easy-ui5 project --forceUpdate

It reloads the template again and runs npm install.

Best regards, Peter

petermuessig commented 2 years ago

No update, hence I'm closing the issue

borgbox commented 1 year ago

Hello Peter, I am having the same issue reported in this issue and I've tried the recommended command but the "Cannot find module 'object-assign-deep'" error persists.

My OS is a macOS Catalina

nicoschoenteich commented 1 year ago

Hi @franciscofreitas2001, Can you run yo easy-ui5 --plugins and share the output? Also, which subgenerator did you try to run? When applying the --forceUpdate fix, make sure to call it with the subgenerator you are trying to reinstall (not necessarily project, could also be library,control, etc.) Best, Nico

borgbox commented 1 year ago

Hello @nicoschoenteich , thanks for the quick reply. Here is my output of yo easy-ui5 --plugins:

    _-----_     
    |       |    ╭──────────────────────────╮
    |--(o)--|    │  Welcome to the easy-ui5 │
   `---------´   │     3.5.1 generator!     │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |     
   __'.___.'__   
 ´   `  |° ´ Y ` 

Node.js: v18.3.0
yeoman-environment: 3.13.0
generator-easy-ui5: 3.5.1
home: /usr/local/lib/node_modules/generator-easy-ui5
pluginsHome: /usr/local/lib/node_modules/generator-easy-ui5/plugin-generators

Available generators:
  - ui5-project: 0.2.1

I am trying to run the project subgenerator but today it worked.

I didnt see a version change but today I was able to generate a project.

Thanks

Best Regards Francisco