on ‎2020 Jul 09 8:29 AM
Hi guys,
I'm trying to deploy to SCP Cloud Foundry with the command below:
cf push -f <app_name>/manifest
then got back the error
**WARNING** yarn.lock is outdated
-----> Running go build finalize
/tmp/buildpackdownloads/ddcdba8d520546385414ac76bc084798 ~
~
**WARNING** This app may not specify any way to start a node process
See: https://docs.cloudfoundry.org/buildpacks/node/node-tips.html#start
Contrast Security no credentials found. Will not write environment files.
Error staging application: Staging error: staging failed
FAILED
My manifest.yml file content is as below:
version: 1
applications:
- name: backend-express
env:
NPM_CONFIG_PRODUCTION: false
YARN_PRODUCTION: false
memory: 512M
instances: 1
services:
- myuaa
buildpacks:
- 'https://github.com/cloudfoundry/nodejs-buildpack'
command: node app/backend-express/src
and package.json content is:
{
"name": "backend-express",
"version": "1.0.1",
"description": "",
"repository": "",
"license": "UNLICENSED",
"private": true,
"dependencies": {
"@sap/xsenv": "3.0.0",
"@sap/xssec": "3.0.5",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"dotenv-flow": "^3.1.0",
"express": "^4.17.1",
"passport": "^0.4.1"
},
"scripts": {
"start": "node src"
}
}
Can you please give any advice if any? Thank you.
Regards,
Kevin
Request clarification before answering.
I saw this too. I also don't know why. But anyway, it didn't break my app.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.