on 2023 Dec 13 7:40 PM
Request clarification before answering.
You can add the `@sap/hdi-deploy` module inside your db folder and pin it to version 4.8.2 which works. This way when `cds deploy` is run it will copy this package.json into the ./gen folder instead of generating a new one on the latest version of `@sap/hdi-deplpoy`.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can anybody give any advice on this issue?
I'm facing the same issue now, and my db deployment worked just fine yesterday...
And I already have package.json with "@sap/hdi-deploy" under ./db folder. The error is still there.
Error detail:
Invoking start command.
2023-12-14T02:31:52.689+0000 [APP/TASK/deploy/0] STDOUT > start
2023-12-14T02:31:52.689+0000 [APP/TASK/deploy/0] STDOUT > node node_modules/@sap/hdi-deploy/deploy.js
2023-12-14T02:31:52.758+0000 [APP/TASK/deploy/0] STDERR node:internal/modules/cjs/loader:1080
2023-12-14T02:31:52.758+0000 [APP/TASK/deploy/0] STDERR throw err;
2023-12-14T02:31:52.758+0000 [APP/TASK/deploy/0] STDERR ^
2023-12-14T02:31:52.758+0000 [APP/TASK/deploy/0] STDERR Error: Cannot find module 'core-util-is'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
29 | |
9 | |
9 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.