You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Seems we are missing some important logic to install any new modules when rebuilding existing dependencies
You used to have it:
nodejs-buildpack/lib/build.sh
Line 174 in cc9339a
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 consideredprebuilt
, so it rebuilds the dependencies I've included innode_modules
. However, I hadexpress
in mypackage.json
(but not innode_modules
), and it never got installed.The text was updated successfully, but these errors were encountered: