Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hdi-deployer issue #9

Open
yyyyvon opened this issue Jan 19, 2022 · 0 comments
Open

hdi-deployer issue #9

yyyyvon opened this issue Jan 19, 2022 · 0 comments

Comments

@yyyyvon
Copy link

yyyyvon commented Jan 19, 2022

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant