on 2022 Apr 19 6:36 PM
Hello,
I was wondering if anyone can help me with an issue I’m facing when Building an empty SAP HANA Database project in WebIDE.
I recently installed SAP HANA express on my machine as I’m interested in trying data modeling using the WebIDE. I followed the installation guide and managed to get the WebIDE working along with the other XS services. When I create an empty SAP HANA database project and Build it at the project level I get these errors.


It seems that async and micromatch are two of the dependencies that the package @sap/hdi-deploy requires but unable to use it seems.
https://www.npmjs.com/package/@sap/hdi-deploy
Here’s the package.json file content:
{
"name": "deploy",
"dependencies": {
"@sap/hdi-deploy": "^4"
},
"scripts": {
"start": "node node_modules/@sap/hdi-deploy/deploy.js"
}
}
When checking this command:
xs env di-local-npm-registry | grep UPSTREAM_LINK
I get this output which seems to have the correct values:
SAPUPSTREAM_LINK: https://npm.sap.com
UPSTEAM_LINK: http://registry.npmjs.org/
Things I’ve tried but didn’t help:
I tried lowering the value 4 to 3 but that didn't help.
I tried reinstalling the Builder under project settings - space but that didn't help either.
I tried building at different levels of the project and that didn’t help.
I tried removing the post script in the package.json file and that didn’t help.
I’m not sure where the created project is stored and how to navigate to in in Linux which is what the SAP HANA Express VM installed on. Typing npm ls is giving me an error when I’m at the <hxehost:hxeadm> prompt so probably I need to navigate to a certain location.
Thanks,
Ali
Request clarification before answering.
Comments from a colleague:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Tom. I got it to work by doing a combination of these items:
- Changed the SAPUPSTREAM_LINK from https://npm.sap.com to https://registry.npmjs.org
- Done the restage and retest commands
- Changed @sap/hdi-deploy to version ^3
- Added the engine section at the end.
I probably need to update the Node version and the SAP packages. I need to figure how to do that on Linux.
{
"name": "deploy",
"dependencies": {
"@sap/hdi-deploy": "^3"
},
"scripts": {
"start": "node node_modules/@sap/hdi-deploy/deploy.js"
},
"engines": {
"node": "^10 || ^12"
}
}
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.