on 02-13-2023 3:01 PM
Hi,
another thing that is confusing me in the Learning Material:
There is this statement
In the video below about Data Tiering Pyramid there is a statement that a Data Lake is for Cold Data. NSE is for warm data. Similar statements can be found din other units.
My conclusion is that there is a mistake in the first screenshot? Or can this somehow be clarified?
Kind regards
Meinrad
Hi @jannes_schofeld , I am also getting the same error. I did the following:
remove package-lock.json file from my project
Below is the log.
Applying manifest file /home/user/projects/risk-management5/manifest.yml...
Manifest applied
Packaging files to upload...
Uploading files...
8.65 KiB / 8.65 KiB 100.00% 1s
Waiting for API to complete processing files...
Staging app and tracing logs...
Downloading nodejs_buildpack...
Downloaded nodejs_buildpack
Cell bcc96d96-4385-48bb-8801-d910ed7e40f7 creating container for instance 873305ca-9eea-479d-a3a9-bfdd1d2dd6fc
Cell bcc96d96-4385-48bb-8801-d910ed7e40f7 successfully created container for instance 873305ca-9eea-479d-a3a9-bfdd1d2dd6fc
Downloading app package...
Downloaded app package (329.6K)
-----> Nodejs Buildpack version 1.7.65
-----> 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/contents432129493/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)
npm notice
npm notice New minor version of npm available! 8.1.2 -> 8.5.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.5.2>
npm notice Run `npm install -g npm@8.5.2` to update!
npm notice
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to http://nginx-redirector.repo-cache.svc.cluster.local/repository/appstudio-npm-group/yallist/-/yallist-4.0.0.tgz failed, reason: getaddrinfo ENOTFOUND nginx-redirector.repo-cache.svc.cluster.local
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/cache/final/.npm/_logs/2022-02-25T13_22_36_124Z-debug.log
**ERROR** Unable to build dependencies: exit status 1
Failed to compile droplet: Failed to run all supply scripts: exit status 14
Exit status 223
Cell bcc96d96-4385-48bb-8801-d910ed7e40f7 stopping instance 873305ca-9eea-479d-a3a9-bfdd1d2dd6fc
Cell bcc96d96-4385-48bb-8801-d910ed7e40f7 destroying container for instance 873305ca-9eea-479d-a3a9-bfdd1d2dd6fc
Cell bcc96d96-4385-48bb-8801-d910ed7e40f7 successfully destroyed container for instance 873305ca-9eea-479d-a3a9-bfdd1d2dd6fc
BuildpackCompileFailed - App staging failed in the buildpack compile phase
FAILED
user: risk-management5 $
Below is the package.json file.
{
"name": "risk-management5",
"version": "1.0.0",
"description": "A simple CAP project.",
"repository": "<Add your repository here>",
"license": "UNLICENSED",
"private": true,
"dependencies": {
"@sap/cds": "^5",
"express": "^4",
"hdb": "^0.18.3"
},
"devDependencies": {
"@sap/ux-specification": "^1.96.4",
"sqlite3": "^5.0.2"
},
"scripts": {
"start": "cds run"
},
"eslintConfig": {
"extends": "eslint:recommended",
"env": {
"es2020": true,
"node": true,
"jest": true,
"mocha": true
},
"globals": {
"SELECT": true,
"INSERT": true,
"UPDATE": true,
"DELETE": true,
"CREATE": true,
"DROP": true,
"CDL": true,
"CQL": true,
"CXL": true,
"cds": true
},
"rules": {
"no-console": "off",
"require-atomic-updates": "off"
}
},
"sapux": [
"app/risks"
],
"cds": {
"requires": {
"API_BUSINESS_PARTNER": {
"kind": "odata-v2",
"model": "srv/external/API_BUSINESS_PARTNER",
"[development]": {
"credentials": {
"url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_BUSINESS_PARTNER/"
}
},
"[production]": {
"credentials": {
"destination": "API_BUSINESS_PARTNER"
}
}
},
"db": {
"kind": "sql"
},
"xsuaa": {
"kind": "xsuaa"
}
},
"hana": {
"deploy-format": "hdbtable"
}
}
}
Below is SAP Note 3124191.
3124191 - Error staging application "...": BuildpackCompileFailed - App staging failed in buildpack compile phase
Version 2 from 03.12.2021 in English
Component:CA-WDE-RUN-UI
Priority:Normal
Category:Product Enhancement
Release Status:Released to Customer
Rated Helpful:
(Article is not rated)
Quality Rating:
SAP Note/KBA Number
Symptom
Error staging application "<application_name>": BuildpackCompileFailed - App staging failed in buildpack compile phase
Environment
SAP Business Technology Platform, Cloud Foundry
Web IDE
Business Application Studio
Reproducing the Issue
Try to deploy an application in Cloud Foundry
Cause
End of maintenance of the node in question means the support of the nodejs version has been removed from the cloud foundry node buildpack which is also used by SAP BTP.
Resolution
Please check the package.json file (Raw Data) for the following sections
"engines": {
"node": "X.x"
},
All occurrences of "X.x", "^X" or similar should be replaced by
"engines": {
"node": "^Y"
},
________________________________________________________________
Example:
"engines": {
"node":"^8.0.0 || ^10.0.0"
},
As of November 25th 2021, should be replaced with:
"engines": {
"node":"^12.0.0 || ^ 14.0.0"
},
See: SAP BTP release notes & Node.js release roadmap for more information on nodejs versions
See Also
2871926 - SAP Web IDE for SAP HANA 2.0 SPS 05 - for latest nodejs support
2905298 - Problems running nodejs applications on cloud foundry using SAP Web IDE FullStack
Keywords
BuildpackCompileFailed - App staging failed in the buildpack compile phase, BAS, WebIDE, Business Application Studio, CF, Cloud Foundry, BTP, nodeJS
Product
Product or Product Version
SAP Business Technology Platform all versions
Attributes
Name
Value
Other Components CA-BAS-BLD Build Application - SAP Business Application Studio
I have tried several ways to fix the error, but not any success yet. What should be done? Thanks in advance for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.