cancel
Showing results for 
Search instead for 
Did you mean: 

XSA Node.js aplication deployment buildpack inconsistency

0 Kudos

Hello, I've got the following problem:

When deploying a node.js part of the application trough WebIDE it is deployed with buildpack

"https://{server_address}:51131/git-bp/nodejsappcontroller-buildpack-project"

and ths causes the node.js application to crash.

51131 is a port where di-core is running.

When deploying the same node.js application manually with the ONLY node.js buildpack on this server named sap_nodejs_buildpack the application is successfully created and running with no problems.

My questions are:

Can this be solved by configuring di-core, webide or di-builder applications? How?

Can the buildpack be configured in mta.yaml or package.json files of the project? How?

Thank You in advance!

Accepted Solutions (1)

Accepted Solutions (1)

SergioG_TX
Active Contributor
0 Kudos

yes you can configure the port... and the build pack if there are different ones.

if you use the xs push app command. you can pass these flags as well - take a look here

https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.03/en-US/8bb90c8be912431dab74877a49...

0 Kudos

Hello and thank You for the answer,

but the question still stands, when node.js application is run from WebIDE it uses a wrong buildpack, there is no problem when running from terminal.

Answers (1)

Answers (1)

SergioG_TX
Active Contributor
0 Kudos

would it be matter of clearing the cache.. or add this config in the manifest.yml file?? just a thought