Skip to content
This repository was archived by the owner on Jul 24, 2019. It is now read-only.

bundle dependencies#585

Merged
nicks merged 1 commit into
Medium:masterfrom
strongloop-forks:bundled-dependencies
Jul 29, 2016
Merged

bundle dependencies#585
nicks merged 1 commit into
Medium:masterfrom
strongloop-forks:bundled-dependencies

Conversation

@rmg
Copy link
Copy Markdown
Contributor

@rmg rmg commented Jul 29, 2016

Bundling the dependencies ensures that they are always present when npm
runs a package's lifecycle scripts. This is necessary to get any sort of
consistency in behaviour when using dependencies in install scripts
because the installation order in npm@2 is non-deterministic and that is
the version of npm that ships with the current LTS releases of Node.

This should address #581, #580, #578, #553, #584

May also help with #302, #556, #555, which aren't clear what their root
causes are due to lack of detail.

Bundling the dependencies ensures that they are always present when npm
runs a package's lifecycle scripts. This is necessary to get any sort of
consistency in behaviour when using dependencies in install scripts
because the installation order in npm@2 is non-deterministic and that is
the version of npm that ships with the current LTS releases of Node.

This should address Medium#581, Medium#580, Medium#578, Medium#553, Medium#584

May also help with Medium#302, Medium#556, Medium#555, which aren't clear what their root
causes are due to lack of detail.
@rmg
Copy link
Copy Markdown
Contributor Author

rmg commented Jul 29, 2016

As a PoC/test, this was published as bundled-phantomjs-prebuilt which seemed to clear up the problem for me in all the environments I tested in that were previously failing (#580 - node 0.10, 0.12, 4 on Linux).

@amir20
Copy link
Copy Markdown

amir20 commented Jul 29, 2016

Works for me as well. I was able to install with Docker.

@nicks
Copy link
Copy Markdown
Contributor

nicks commented Jul 29, 2016

sure, happy to try it and see if it helps

@nicks nicks merged commit fc9d31a into Medium:master Jul 29, 2016
@rmg rmg deleted the bundled-dependencies branch July 30, 2016 01:03
@rmg
Copy link
Copy Markdown
Contributor Author

rmg commented Aug 2, 2016

@nicks thanks for the quick turnaround, really appreciate it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants