cancel
Showing results for 
Search instead for 
Did you mean: 

CAPM Project - exposing hana tables as odata service

0 Kudos

Hi All,

I am trying to create simple capm project but I am getting error always. Not sure where I am doing the mistake. BELOW IS THE ERROR

I was referring the blog - https://blogs.sap.com/2020/09/08/use-cap-to-expose-hana-cloud-tables-as-odata-services/

-> Installing binaries

engines.node (package.json): >=12.18

engines.npm (package.json): unspecified (use default)

**WARNING** Dangerous semver range (>) in engines.node. See: http://docs.cloudfoundry.org/buildpacks/node/node-tips.html

-----> Installing node 16.13.1

Copy [/tmp/buildpacks/092478478540c0d423f0bdd91cef63b0/dependencies/6ba42799f8211c597989b95ad2db3de2/node_16.13.1_linux_x64_cflinuxfs3_7f893010.tgz]

Using default npm version: 8.1.2

-----> Installing yarn 1.22.17

Copy [/tmp/buildpacks/092478478540c0d423f0bdd91cef63b0/dependencies/4984aeaaf5967be21b1e442d431a1957/yarn_1.22.17_linux_noarch_any-stack_08892f64.tgz]

Installed yarn 1.22.17

-----> Creating runtime environment

PRO TIP: It is recommended to vendor the application's Node.js dependencies

Visit http://docs.cloudfoundry.org/buildpacks/node/index.html#vendoring

NODE_ENV=production

NODE_HOME=/tmp/contents799001341/deps/0/node

NODE_MODULES_CACHE=true

NODE_VERBOSE=false

NPM_CONFIG_LOGLEVEL=error

NPM_CONFIG_PRODUCTION=true

-----> Building dependencies

Installing node modules (package.json + package-lock.json)

BuildpackCompileFailed - App staging failed in the buildpack compile phase

FAILED

_______________________________

Any one please help.

0 Kudos

Also, db file also not able to deploy properly getting below error

instance: 9a0936cf-17d6-48c9-70d2-cd71, index: 0, cell_id: c7338108-fda0-4f8b-ad35-bcfbf7ba829d, exit_description: APP/PROC/WEB: Exited with status 1, reason: CRASHED

Accepted Solutions (0)

Answers (1)

Answers (1)

gregorw
Active Contributor
0 Kudos

I would suggest you add:

  "engines": {
    "node": "^14"
  },

to your package.json