Getting issue in UI5 tooling: middlewareUtil.getProject is not a function
pkgupta1008 opened this issue · 1 comments
pkgupta1008 commented
Getting issue in UI5 tooling: middlewareUtil.getProject is not a function
matz3 commented
Hey @pkgupta1008,
the getProject
method on the middlewareUtil
is only available when the ui5.yaml of the middleware extension defines specVersion
3.0 or above:
This method is only available to custom server middleware extensions defining Specification Version 3.0 and above.
See: https://sap.github.io/ui5-tooling/v3/api/@ui5_server_middleware_MiddlewareUtil.html#getProject
This behaviour is mentioned in our Custom Server Middleware documentation page.
I hope that this resolves the reported problem. If not, please share more details so that we can have another look.