What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running cf curl /v2/info && cf version?
cf version 6.36.1+e3799ad7e.2018-04-04
"api_version": "2.82.0",
What version of the buildpack you are using?
https://github.com/cloudfoundry/nodejs-buildpack/releases/tag/v1.6.22
If you were attempting to accomplish a task, what was it you were attempting to do?
push node js application to PCF with node_modules has all dependencies.
What did you expect to happen?
The build pack should ignore npm install/ rebuild
What was the actual behavior?
build pack tries to install dependencies and fails to install private git repos because of permission issues if the package.json contains node and npm versions other than default.
"engines": {
"node": "8.9.4",
"npm": "5.6.0"
},
with the default node version 6.14.1, the build pack skips npm install/rebuild, but app gives weird errors during runtime.
Can you provide a sample app?
nope
Please confirm where necessary:
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running
cf curl /v2/info && cf version?cf version 6.36.1+e3799ad7e.2018-04-04
"api_version": "2.82.0",
What version of the buildpack you are using?
https://github.com/cloudfoundry/nodejs-buildpack/releases/tag/v1.6.22
If you were attempting to accomplish a task, what was it you were attempting to do?
push node js application to PCF with node_modules has all dependencies.
What did you expect to happen?
The build pack should ignore npm install/ rebuild
What was the actual behavior?
build pack tries to install dependencies and fails to install private git repos because of permission issues if the package.json contains node and npm versions other than default.
"engines": {
"node": "8.9.4",
"npm": "5.6.0"
},
with the default node version 6.14.1, the build pack skips npm install/rebuild, but app gives weird errors during runtime.
Can you provide a sample app?
nope
Please confirm where necessary: