Open dustinself opened 5 days ago
Hi @dustinself
the activate
function has been removed since quite a while already. Do you use the latest version of the cds-plugin-ui5
which is 0.9.3
?
https://www.npmjs.com/package/cds-plugin-ui5?activeTab=versions
BR, Peter
Describe the bug Using cds-plugin-ui5 seems to change the default behavior of BAS when the deploy (rocket-ship) icon is clicked in BAS under section SAP HANA PROJECTS. I get the error: Executing task: echo 'Could not prepare environment: Error executing command "cds build --for hana". Reason: error occurred while executing command: "cds build" [cds] - WARNING: The @sap/cds plugin /home/user/projects/btp-sandbox/packages/cap-server/node_modules/cds-plugin-ui5/cds-plugin.js contains an 'activate' function, which is deprecated and won't be supported in future releases. Please rewrite the plugin to return a Promise within 'module.exports'.
To Reproduce Steps to reproduce the behavior:
Expected behavior Database objects should be deployed.
Versions
Additional context I can work around this by running a cds build at the cap-server directory...and then run hdi deploy at the db directory.