cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Cannot find module '/home/vcap/app/node_modules/@sap/hdi-deploy/deploy.js' : (CF Trial)

03-21-2022 12:00 PM
jibinjoy21 Explorer
4748 views 5 comments
0 Likes
Subscribe

Git Hub Project (Public) : https://github.com/jibinjoy21/Test

Error in deployment to CF HDI container .(Deployment to CF Trial Account )

cf logs Test-db-deployer

Development IDE : Visual Studio

Same issue when I tried SAP BAS

0 Likes

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Likes

Hey guys!

I had the same problem and this answer of James here : https://answers.sap.com/answers/13464482/view.html

would fix your deployment problem.

Thanks.

Rohit_520
Advisor
Advisor
0 Likes

Can you try deleting Mta_archives once and then build and deploy again?

Also, do npm install once.

As per the error screenshot, it looks issue with the hdi node module.

jibinjoy21
Explorer
0 Likes

Hi Rohit ,

Tried with deleting MTA File as well as created new project . Facing same issue in new Project too

Rohit_520
Advisor
Advisor
0 Likes

Add "@sap/hdi-deploy" as devDependencies in your package.json file.

Command - npm install @sap/hdi-deploy --save-dev

jibinjoy21
Explorer
0 Likes

Hi Rohit ,

Thanks for information.

But still same issue