I clone the demo project for ui5-tooling and run it successfully. however if I do a little change to the project, some errors occur.
Reproduce
I did a little change to the manifest.json as below:
"sap.ui5": { "dependencies": { "libs": { "sap.ui.core": { "lazy": false }, "sap.m": { "lazy": false }, "sap.ui.layout": { "lazy": false }, "sap.ui.unified": { "lazy": false }, "sap.ushell": { "lazy": false } } },
add another lib 'sap.ushell'. then run the opa again with: 'ui5 serve -o'
Symptom
The opa cannot run, in the developers tool of chrome, i found the error: Error: failed to load 'sap/ushell/library.js' from resources/sap/ushell/library.js: 404 - Not Found...
Explaination
I did this change because when I trying to enable ui5 tooling to my existing projects, I can not run OPA successfully. If i mannually add the lib by 'ui5 add ', then more errors occurs, like 'File not found: /resources/sap/ui/core/themes/sap_belize/base.less'