ui5-tooling
ui5-tooling copied to clipboard
Add "health check" to detect inconsistencies
Some kind of health check should be really helpful to detect common mistakes such as
- compare manifest.json dependency declaration to package.json dependencies and give a hint about missing / undeclared dependencies
- inconsistencies between
sap.app/id
of manifest.json and the actual component name - missing
npm install
(no dependencies found)- Currently this only gives an error but doesn't give a hint how to solve it:
Error: [npm translator] Could not locate module @openui5/sap.ui.core via resolve logic (error: Cannot find module '@openui5/sap.ui.core/package.json'
- Currently this only gives an error but doesn't give a hint how to solve it:
It might be better to do such checks implicitly rather than introducing a new command.
Hi All,
When we are trying to deploy the application locally it's working fine but CI/CD pipeline is failing with below error. Please have a look below.
Error Message: [2021-03-19T13:44:58.289Z] info mtaBuild - [npm translator] Could not locate module @sap/ui5-builder-webide-extension via resolve logic (error: Cannot find module '@sap/ui5-builder-webide-extension/package.json' from '/home/jenkins/agent/workspace/paljob/app/maintaincharge') or in a collection [2021-03-19T13:44:58.298Z] info mtaBuild -
Regards, Om
Hi Om,
The @sap/ui5-builder-webide-extension
module is not part of the UI5 Tooling project.
Please reach out to SAP support directly: https://support.sap.com/
If you still think this might be related to the UI5 Tooling project, please create a dedicated issue, since it's most probably not related to this feature request.
If there is anyone out there still having this error, for me it was solved by clearing the cache 'npm clear cache --force' and run 'npm i' again.