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
Hello,
i got error when i tried to deploy app-cf/db to BTP, after research by myself, i found one solution, so i changed package.json as
{
"name": "hdi-deployer",
"dependencies": {
"@sap/hdi-deploy": "latest"
},
"cds": {
"hana": {
"deploy-format": "hdbtable",
"syntax": "hdi"
},
"requires": {
"db": {
"kind": "hana"
}
}
},
"scripts": {
"start": "node node_modules/@sap/hdi-deploy/deploy.js"
}
}
but i still got some problem from hdbcds file....
here are the logs from: cf logs hdi-deployer --recent.
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: "src/GENERICDOCUMENT.hdbcds": could
not create a compile unit for the file [8211714]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT at "src/GENERICDOCUMENT.hdbcds" (0:0)
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Could not find the "com.sap.hana.di.cds" build plugin [8210501]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Adding "src/GENERICDOCUMENT.hdbcds"
for deploy... failed [8211700]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Preparing... failed [8211602]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Preparing the make transaction... ok (0s 69ms)
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Make failed (5 errors, 11 warnings): tried
to deploy 15 files, undeploy 0 files, redeploy 0 dependent files
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Making... failed [8211605]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Starting make in the container "A7354C3FBBD641C5A659C0E4ADBAE87A" with 15 files to deploy, 0 files to undeploy... failed [8214168]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] ERR Deployment to container A7354C3FBBD641C5A659C0E4ADBAE87A failed - error: HDI make failed [Deployment ID: none].
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Deployment ended at 2022-01-19 21:15:25
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] ERR Error: HDI make failed
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT (2s 589ms)
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice New minor version of npm available! 8.0.0 -> 8.3.1
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.3.1
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice Run npm install -g [email protected] to update!
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice
2022-01-19T22:15:25.21+0100 [APP/PROC/WEB/0] OUT Exit status 1
2022-01-19T22:15:30.48+0100 [CELL/0] OUT Cell 4e734e31-d9cc-4b4a-9f8b-948875132f7c stopping instance 8364a985-d710-428b-510e-6df6
2022-01-19T22:15:30.48+0100 [CELL/0] OUT Cell 4e734e31-d9cc-4b4a-9f8b-948875132f7c destroying container for instance 8364a985-d710-428b-510e-6df6
2022-01-19T22:15:30.50+0100 [API/0] OUT Process has crashed with type: "web"
2022-01-19T22:15:30.53+0100 [API/0] OUT App instance exited with guid 51090ebb-e358-48c1-bcc1-b486f178fa3b payload: {"instance"=>"8364a985-d710-428b-510e-6df6", "index"=>0, "cell_id"=>"4e734e31-d9cc-4b4a-9f8b-948875132f7c", "reason"=>"CRASHED", "exit_description"=>"APP/PROC/WEB: Exited with status 1", "crash_count"=>5, "crash_timestamp"=>1642626930479906185, "version"=>"f0e23ec7-1ff8-40a8-967d-64c35de58f29"}
2022-01-19T22:15:30.71+0100 [PROXY/0] OUT Exit status 137
2022-01-19T22:15:31.59+0100 [CELL/0] OUT Cell 4e734e31-d9cc-4b4a-9f8b-948875132f7c successfully destroyed container for instance 8364a985-d710-428b-510e-6df6
PS C:\Users\yhu\OneDrive - PM S.A.S\Documents\VS_Code\workspace\Migrated Sales Order Data\s4hana-ext-migrate-historical-data\app-cf\db>
The text was updated successfully, but these errors were encountered:
Hello,
i got error when i tried to deploy app-cf/db to BTP, after research by myself, i found one solution, so i changed package.json as
{
"name": "hdi-deployer",
"dependencies": {
"@sap/hdi-deploy": "latest"
},
"cds": {
"hana": {
"deploy-format": "hdbtable",
"syntax": "hdi"
},
"requires": {
"db": {
"kind": "hana"
}
}
},
"scripts": {
"start": "node node_modules/@sap/hdi-deploy/deploy.js"
}
}
but i still got some problem from hdbcds file....
here are the logs from: cf logs hdi-deployer --recent.
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: "src/GENERICDOCUMENT.hdbcds": could
not create a compile unit for the file [8211714]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT at "src/GENERICDOCUMENT.hdbcds" (0:0)
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Could not find the "com.sap.hana.di.cds" build plugin [8210501]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Adding "src/GENERICDOCUMENT.hdbcds"
for deploy... failed [8211700]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Preparing... failed [8211602]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Preparing the make transaction... ok (0s 69ms)
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Make failed (5 errors, 11 warnings): tried
to deploy 15 files, undeploy 0 files, redeploy 0 dependent files
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Making... failed [8211605]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Starting make in the container "A7354C3FBBD641C5A659C0E4ADBAE87A" with 15 files to deploy, 0 files to undeploy... failed [8214168]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] ERR Deployment to container A7354C3FBBD641C5A659C0E4ADBAE87A failed - error: HDI make failed [Deployment ID: none].
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Deployment ended at 2022-01-19 21:15:25
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] ERR Error: HDI make failed
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT (2s 589ms)
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice New minor version of npm available! 8.0.0 -> 8.3.1
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.3.1
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice Run
npm install -g [email protected]
to update!2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice
2022-01-19T22:15:25.21+0100 [APP/PROC/WEB/0] OUT Exit status 1
2022-01-19T22:15:30.48+0100 [CELL/0] OUT Cell 4e734e31-d9cc-4b4a-9f8b-948875132f7c stopping instance 8364a985-d710-428b-510e-6df6
2022-01-19T22:15:30.48+0100 [CELL/0] OUT Cell 4e734e31-d9cc-4b4a-9f8b-948875132f7c destroying container for instance 8364a985-d710-428b-510e-6df6
2022-01-19T22:15:30.50+0100 [API/0] OUT Process has crashed with type: "web"
2022-01-19T22:15:30.53+0100 [API/0] OUT App instance exited with guid 51090ebb-e358-48c1-bcc1-b486f178fa3b payload: {"instance"=>"8364a985-d710-428b-510e-6df6", "index"=>0, "cell_id"=>"4e734e31-d9cc-4b4a-9f8b-948875132f7c", "reason"=>"CRASHED", "exit_description"=>"APP/PROC/WEB: Exited with status 1", "crash_count"=>5, "crash_timestamp"=>1642626930479906185, "version"=>"f0e23ec7-1ff8-40a8-967d-64c35de58f29"}
2022-01-19T22:15:30.71+0100 [PROXY/0] OUT Exit status 137
2022-01-19T22:15:31.59+0100 [CELL/0] OUT Cell 4e734e31-d9cc-4b4a-9f8b-948875132f7c successfully destroyed container for instance 8364a985-d710-428b-510e-6df6
PS C:\Users\yhu\OneDrive - PM S.A.S\Documents\VS_Code\workspace\Migrated Sales Order Data\s4hana-ext-migrate-historical-data\app-cf\db>
The text was updated successfully, but these errors were encountered: