Skip to content
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

Install any new modules after "rebuilding" existing dependencies #22

Closed
svennam92 opened this issue May 13, 2015 · 3 comments
Closed

Install any new modules after "rebuilding" existing dependencies #22

svennam92 opened this issue May 13, 2015 · 3 comments

Comments

@svennam92
Copy link
Contributor

Seems we are missing some important logic to install any new modules when rebuilding existing dependencies

You used to have it:

info "Installing any new modules"

but not any longer:
f43aa96#diff-cbea48db73996bd0b8adcff9b6b7fbd2L186

We should install any new dependencies after doing the "rebuild". This allows some dependencies to be pushed with the application in "node_modules", and others to be downloaded as specified in package.json

My scenario that caused this issue:
Push fresh application (no cache) with undeclared dependencies in node_modules. This is considered prebuilt, so it rebuilds the dependencies I've included in node_modules. However, I had express in my package.json (but not in node_modules), and it never got installed.

@cf-gitbot
Copy link

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/94525966.

@flavorjones
Copy link
Contributor

Should be addressed when we merge upstream in https://www.pivotaltracker.com/story/show/93482010

We'll leave this open until we merge and verify we've addressed it.

@flavorjones
Copy link
Contributor

This is fixed in nodejs-buildpack v1.3.3:

We've also submitted a PR to runtime to have this version bundled with `cf-release:

Thanks again for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants