Copying npm scripts for embedded node #868
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
If the "provided" npm version is used, the binaries are not copied into the node directory so they aren't in the path for
npm
executions started from the plugin. For example, theprebuild
in the example project callsnpm install
which will use the system npm rather than that installed for the porject. This is experienced by reporters of #458 and #860.Tests and Documentation
Modified existing node-provided-npm integration test.
The example test is failing due to some phantomjs error and is apparently unrelated.