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
230 stars 72 forks source link

"yo easy-ui5 project" ends with error #101

Closed horsemanjackyliu closed 2 years ago

horsemanjackyliu commented 2 years ago

Easy-Ui5 version:

4.30

Run yo easy-ui5 --plugins to print all relevant version strings

OS/version:

Edition Windows 10 Enterprise Version 20H2 Installed on ‎5/‎12/‎2021 OS build 19042.1526 Experience Windows Feature Experience Pack 120.2212.4170.0

Browser/version (+device/version):

Steps to reproduce the problem:

  1. Step 1 C:\Users\IXXXXXX>yo easy-ui5 --plugins Error easy-ui5 --plugins

Unexpected token '.'

  1. Step 2 C:\Users\I501000>yo easy-ui5 project Error easy-ui5 project

Unexpected token '.'

What is the expected result?

generate a ui5 project

What happens instead?

ends with error

Any other information? (attach screenshot if possible)

image

nicoschoenteich commented 2 years ago

Hi! What node version are you running? Make sure it's 14 or higher. BR, Nico

horsemanjackyliu commented 2 years ago

Hi Nico,

Node version is v12.21.0 on my laptop .

nicoschoenteich commented 2 years ago

Update to version 14 or higher and you should be good to go. I'm confident it's that because we had this issue before (#96).

BR, Nico