You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TROUBLESHOOTING.md
+47-54Lines changed: 47 additions & 54 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Dear Learner,
4
4
5
5
due to dependecies or product updates, you could potentially run into some issues from time to time.
6
6
7
-
Before posting a question in our [SAP BTP Learning Group](https://groups.community.sap.com/t5/sap-btp-learning/gh-p/SAP-BTP-Learning), please go through this troubleshooting guide carefully.
7
+
Before posting a question in our [SAP Learning Group](https://groups.community.sap.com/t5/sap-learning-groups/ct-p/SAP-Learning), please **read**this troubleshooting guide **carefully**.
8
8
9
9
First and foremost, make sure to check your cds version:
10
10
@@ -14,20 +14,22 @@ cds -v
14
14
15
15
It should print something similair like this:
16
16
```bash
17
-
@sap/cds: 6.1.3
18
-
@sap/cds-compiler: 3.1.2
19
-
@sap/cds-dk: 6.1.5
20
-
@sap/cds-dk (global): 6.1.5
21
-
@sap/cds-foss: 4.0.0
22
-
@sap/cds-mtx: -- missing --
23
-
@sap/eslint-plugin-cds: 2.5.0
17
+
@cap-js/sqlite: 1.3.0
18
+
@sap/cds: 7.3.0
19
+
@sap/cds-compiler: 4.3.0
20
+
@sap/cds-dk: 7.3.0
21
+
@sap/cds-fiori: 1.1.0
22
+
@sap/cds-foss: 4.0.2
23
+
@sap/cds-mtxs: 1.12.0
24
+
@sap/eslint-plugin-cds: 2.6.3
25
+
Node.js: v18.14.2
24
26
...
25
27
```
26
28
27
-
If your ```@sap/cds``` dependency is lower than 5.9.x, then please make sure to upgrade your cds packages:
29
+
If your ```@sap/cds``` dependency is lower than 7.0.0, then please make sure to upgrade your cds packages:
28
30
29
31
```bash
30
-
npm i @sap/cds-dk && npm i @sap/cds && npm update
32
+
npm i @sap/cds-dk@7.3.0&& npm i @sap/cds@7.3.0&& npm update
31
33
```
32
34
33
35
Verify your cds version again with ```cds -v```.
@@ -80,53 +82,44 @@ npm config set registry http://registry.npmjs.org/
[2023-10-10T12:47:54.463Z] error mtaBuild - .[2023-10-10 12:47:54] ERROR the "before-all"" build failed: could not execute the "npx cds build --production" command: exit status 1
102
+
[2023-10-10T12:47:54.498Z] info mtaBuild - make: *** [Makefile_20231010124752.mta:28: pre_build] Error 1
103
+
[2023-10-10T12:47:54.533Z] info mtaBuild - Error: could not build the MTA project: could not execute the "make -f Makefile_20231010124752.mta p=CF mtar=risk-management.mtar strict=true mode= t=\"/home/jenkins/agent/workspace/risk-management-job\"" command: exit status 2
104
+
```
94
105
95
-
```NOTE: Please change the oauth2-configuration redirect-uri to your approuter's url!```
0 commit comments