on 2021 Nov 25 10:00 AM
deployerrorlogs-myhanaapp-srv.txtTutorials: https://developers.sap.com/tutorials/hana-cloud-cap-add-auth-deploy.html
--------------------------
Hello!
We have been trying to solve a deployment problem for weeks, but unfortunately we always get stuck with this error message (see attachment). We also attached the Logdata.
Could you help us to solve this problem?
With kind regards
Jasmin
Request clarification before answering.
Hi jas_09,
Your log shows errors related to your srv module:
**ERROR** Unable to install node: no match found for ^10 in [12.22.5 12.22.6 14.17.6 14.18.0 15.13.0 15.14.0 16.8.0 16.10.0]<br>This indicates your srv module has a package.json with the following settings:
{
"name": "MyHANAApp",
"version": "1.0.0",
"description": "A simple CAP project.",
....
....
},
"engines": {
"node": "^10.X"
},
....
....
}Change the node version to something like:
},
"engines": {
"node": "^14.X"
},
Check the other modules - if they are also configured to use node version 10 as well - which isn't supported on CF any longer.TIP: if you are using NodeJS 10 for local development, try using nvs to have multiple node versions installed on your system. Have the same node version as the one you have configured in the package.json installed via nvs and activated while testing. Switch back to version 10 as required by other developments you do locally.Best regards,You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Ivan,
thank you for the quick reply. The error message no longer appears 🙂
Best regards,
Jasmin
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 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.