Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Remove 'preinstall' #12464

Merged
merged 1 commit into from
Jul 23, 2018
Merged

Remove 'preinstall' #12464

merged 1 commit into from
Jul 23, 2018

Conversation

springmeyer
Copy link
Contributor

This removes the "preinstall": "npm install node-pre-gyp",. This is not needed and also might cause problems with some npm versions. So it should be removed.

I was originally added as part of moving away from putting node-pre-gyp in the bundledDependencies. But neither of these workarounds are needed with recent node > 4.

Refs mapbox/node-pre-gyp#260 (comment)

This is an obsolete workaround for old npm versions that broke with bundling but also did not install deps predictably.

Refs:

 - https://github.com/mapbox/node-pre-gyp/blob/master/README.md#configuring
 - mapbox/node-pre-gyp#260
@jfirebaugh jfirebaugh merged commit bcc93ba into master Jul 23, 2018
@jfirebaugh jfirebaugh deleted the remove-preinstall branch July 23, 2018 23:02
@jfirebaugh
Copy link
Contributor

Thanks @springmeyer!

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.

None yet

2 participants