cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

UI5 Typescript build:opt : missing module issue

0 Likes
1,073

Hi,

I started developing a SAPUI5 app using this repo as a starting point: https://github.com/SAP-samples/ui5-typescript-helloworld

Now I am trying to build the project using:

npm run build:opt 

This command gives the following error: "error: missing module lodash.js, required by ..."

In development I don't have this issue as the node modules get compiled via "ui5-tooling-module"

Does anybody know how to fix this issue? I think I need to update the ui5-dist.yaml but I can't find any documentation on this.

Can somebody point me in the right direction?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

FlorianVogt
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi, its quite hard to find the reason for it without actual code / a repository. Did you have used the package "ui5-tooling-modules"? For further details see https://github.com/ui5-community/ui5-ecosystem-showcase/tree/main/packages/ui5-tooling-modules