SAP-samples / ui5-typescript-tutorial

Tutorial for building UI5 applications with TypeScript.

Home Page:https://sap.github.io/ui5-typescript/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: env.lookup(...).filter is not a function

ABVN-Chuong opened this issue · comments

Hello everyone,

I'm trying to create new project using ts-app but when I installed with yo easy-ui5 ts-app , I got the error env.lookup(...).filter is not a function like pic below. I used node version 21.2.0 and easy-ui5 version 3.6.3

So, I can't know how to fix that. If you know how to fix, please share me. Thank you so much!
image

@ABVN-Chuong: I can confirm this issue when using node 21. The issue is in easy-ui5, though and has been fixed earlier today: SAP/generator-easy-ui5#137

Please either update to easy-ui5 3.7.0 or use node 20 or 18.