Closed xtremerui closed 5 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/159291499
The labels on this github issue will be updated when the story is started.
Apologies for the delay. We're investing a possible regression that seems similar: https://github.com/cloudfoundry/nodejs-buildpack/issues/152
If your node_modules
directory is properly generated, the buildpack should not cause npm to reach out to the internet.
It would be helpful if you could send us a sample app that fails to push without internet.
@sclevine We think that the internet calls are resulting from a missing package-lock.json
and we are going to update our documentation for offline usage to be more clear. With that said, do we want to implement the original feature request in this issue (log message for timeouts)?
Added warning in 0a625ebd1c63ee99efe765dd68bfdedd77605e49.
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
?What version of the buildpack you are using?
1.6.26
1.6.29
all behave the same. Latest working version was1.6.23
.If you were attempting to accomplish a task, what was it you were attempting to do?
What did you expect to happen?
What was the actual behaviour? The cf push stuck at install node_modules and timeout eventually without any useful stdout message indicating what is happening.
BP_DEBUG
is set to true already.Can you provide a sample app?
Please confirm where necessary: