From 6aa4ddc68a07bf9bf43a701f00efdd1d299ee1da Mon Sep 17 00:00:00 2001 From: D051920 Date: Mon, 4 May 2026 10:22:42 +0200 Subject: [PATCH 1/7] Troubleshooting empty HDI if subscribed on Windows --- get-started/get-help.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/get-started/get-help.md b/get-started/get-help.md index 0eec9b0a0..af81776a1 100644 --- a/get-started/get-help.md +++ b/get-started/get-help.md @@ -283,6 +283,18 @@ npm add -D tar ``` On macOS and Linux, the built-in implementation continues to be used. +### Why are tenant HDI containers empty after subscription on Windows? + +On Windows, cds build --production may silently fail to create resources.tgz in the MTX sidecar build output. +The build log will incorrectly report the file as written. + +Install the tar library to fix this: + +```sh +npm add -D tar +``` +On macOS and Linux, the built-in implementation continues to be used. + ## Java From 3f3192aa3d41db1fc1fe15807e6c4f633cbdd053 Mon Sep 17 00:00:00 2001 From: D051920 Date: Mon, 4 May 2026 11:25:17 +0200 Subject: [PATCH 2/7] title changed --- get-started/get-help.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-started/get-help.md b/get-started/get-help.md index af81776a1..5dc69674c 100644 --- a/get-started/get-help.md +++ b/get-started/get-help.md @@ -283,7 +283,7 @@ npm add -D tar ``` On macOS and Linux, the built-in implementation continues to be used. -### Why are tenant HDI containers empty after subscription on Windows? +### Why are tenant HDI containers empty after building app on Windows? On Windows, cds build --production may silently fail to create resources.tgz in the MTX sidecar build output. The build log will incorrectly report the file as written. From e2cbc7a59289b7080af596c934bd7b91713c13da Mon Sep 17 00:00:00 2001 From: Vitaly Kozyura <58591662+vkozyura@users.noreply.github.com> Date: Tue, 5 May 2026 17:50:30 +0200 Subject: [PATCH 3/7] Update get-help.md --- get-started/get-help.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-started/get-help.md b/get-started/get-help.md index 5dc69674c..46ee3a014 100644 --- a/get-started/get-help.md +++ b/get-started/get-help.md @@ -283,7 +283,7 @@ npm add -D tar ``` On macOS and Linux, the built-in implementation continues to be used. -### Why are tenant HDI containers empty after building app on Windows? +### How to fix "SqlError: invalid table name: Could not find table/view ..." while building app on Windows On Windows, cds build --production may silently fail to create resources.tgz in the MTX sidecar build output. The build log will incorrectly report the file as written. From 107f684c36cbc1b8381ae038ad2f99fe06dc5642 Mon Sep 17 00:00:00 2001 From: Vitaly Kozyura <58591662+vkozyura@users.noreply.github.com> Date: Tue, 5 May 2026 17:57:13 +0200 Subject: [PATCH 4/7] Update get-help.md --- get-started/get-help.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/get-started/get-help.md b/get-started/get-help.md index 46ee3a014..4465c277a 100644 --- a/get-started/get-help.md +++ b/get-started/get-help.md @@ -287,13 +287,20 @@ On macOS and Linux, the built-in implementation continues to be used. On Windows, cds build --production may silently fail to create resources.tgz in the MTX sidecar build output. The build log will incorrectly report the file as written. +After deployment and subscription, you can then notice the mentioned SqlError or similar error messages that point to tables/views not being available. + +:::warning The build log will incorrectly report the file as written. +::: + +To fix this on Windows, install the tar library: Install the tar library to fix this: ```sh npm add -D tar ``` -On macOS and Linux, the built-in implementation continues to be used. + +Even with this dependency added, on macOS and Linux the built-in implementation continues to be used. From f830f158232f70483da1f9685673c7826f562941 Mon Sep 17 00:00:00 2001 From: Vitaly Kozyura <58591662+vkozyura@users.noreply.github.com> Date: Tue, 5 May 2026 17:58:52 +0200 Subject: [PATCH 5/7] Update get-help.md --- get-started/get-help.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/get-started/get-help.md b/get-started/get-help.md index 4465c277a..c61f6dbf6 100644 --- a/get-started/get-help.md +++ b/get-started/get-help.md @@ -294,8 +294,6 @@ After deployment and subscription, you can then notice the mentioned SqlError or To fix this on Windows, install the tar library: -Install the tar library to fix this: - ```sh npm add -D tar ``` From 52e2ea9928c6cc3c311857ba4e3c606bd5a0e7bc Mon Sep 17 00:00:00 2001 From: Vitaly Kozyura <58591662+vkozyura@users.noreply.github.com> Date: Wed, 6 May 2026 09:30:42 +0200 Subject: [PATCH 6/7] Update get-started/get-help.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: René Jeglinsky --- get-started/get-help.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get-started/get-help.md b/get-started/get-help.md index c61f6dbf6..ef5b032fe 100644 --- a/get-started/get-help.md +++ b/get-started/get-help.md @@ -283,9 +283,9 @@ npm add -D tar ``` On macOS and Linux, the built-in implementation continues to be used. -### How to fix "SqlError: invalid table name: Could not find table/view ..." while building app on Windows +### How to fix "SqlError: invalid table name: Could not find table/view ..."? -On Windows, cds build --production may silently fail to create resources.tgz in the MTX sidecar build output. +On Windows there's a known issue, where `cds build --production` may silently fail to create the _resources.tgz_ in the MTX sidecar build output. The build log will incorrectly report the file as written. After deployment and subscription, you can then notice the mentioned SqlError or similar error messages that point to tables/views not being available. From 5b40d1d4ac66b6ecbbb0a2480d8e1f11a97ade4d Mon Sep 17 00:00:00 2001 From: Vitaly Kozyura <58591662+vkozyura@users.noreply.github.com> Date: Wed, 6 May 2026 09:31:29 +0200 Subject: [PATCH 7/7] Update get-started/get-help.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: René Jeglinsky --- get-started/get-help.md | 1 - 1 file changed, 1 deletion(-) diff --git a/get-started/get-help.md b/get-started/get-help.md index ef5b032fe..2704d41c6 100644 --- a/get-started/get-help.md +++ b/get-started/get-help.md @@ -286,7 +286,6 @@ On macOS and Linux, the built-in implementation continues to be used. ### How to fix "SqlError: invalid table name: Could not find table/view ..."? On Windows there's a known issue, where `cds build --production` may silently fail to create the _resources.tgz_ in the MTX sidecar build output. -The build log will incorrectly report the file as written. After deployment and subscription, you can then notice the mentioned SqlError or similar error messages that point to tables/views not being available. :::warning The build log will incorrectly report the file as written.