-
Notifications
You must be signed in to change notification settings - Fork 386
Offline buildpack still downloading files #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/78320918. |
Hi @ArthurHlt, thank-you for submitting this issue. I attempted to recreate the problem, I did not see errors relating to http get and the app starts up fine. Are you able to provide the logs which shows the problem? |
Hi @azzamallow ,
Second, when i remove my proxy:
|
How did you clear/remove the proxy var? |
My other concern, this was an issue with the Node buildpack some time back. Have you tried the latest buildpack: https://github.com/cloudfoundry/nodejs-buildpack/releases/tag/v1.0.1 |
I don't use |
@ArthurHlt I also took a quick look and I can't recreate this either. Can you tell us a bit more about your proxy variables? |
I got the same problem when push my node app with Node Buildpack v1.0.1, my logs:
|
@lyuyun Do you have an app we can look at? We still haven't managed to recreate this fault. |
@jchesterpivotal I tried to push the nodebb app, and add "-dd" param in bin/compile to get more dump info when npm install. |
We were able to recreate the issue in our local testing environment with an offline CF. It turns that When it comes to compiling dependencies we cannot guarantee that they will not make calls to the Internet. The offline-buildpack is only able to make sure that We'd have to make internal changes to |
I'm currently using the offline buildpack on my own cloudfoundry instance and i ran
npm install
before pushing my app to have all my dependencies already in the app. But when the app staging the compilation runnpm rebuild
and this command go to download nodejs source (i don't know why) from internet which is pretty annoying when you are offline :)I know that the
compile
script come from heroku but Is there a way to make it not download nodejs source?Recreate the issue by following this instruction for example:
http get
from npmThe text was updated successfully, but these errors were encountered: