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

Use sync-exec instead of execSync as exec fallback #35

Merged
merged 1 commit into from
Nov 6, 2015

Conversation

stuharvey
Copy link
Contributor

Attempting "npm install copy-paste" currently raises the error:

[execsync v1.0.2] Attempting to compile native extensions.
[execSync v1.0.2]
    Native code compile failed!!

This error arises with the dependency execSync and is addressed by
the author of execSync [1] who recommends replacing execSync by
sync-exec [2].

Here we replace execSync with sync-exec, and npm install will run
with no errors.

This fixes issue #33.

[1] mgutz/execSync#38
[2] https://www.npmjs.com/package/sync-exec

Attempting "npm install copy-paste" currently raises the error:

[execsync v1.0.2] Attempting to compile native extensions.
[execSync v1.0.2]
    Native code compile failed!!

This error arises with the dependency execSync and is addressed by
the author of execSync [1] who recommends replacing execSync by
sync-exec [2].

Here we replace execSync with sync-exec, and npm install will run
with no errors.

[1] [mgutz/execSync#38](mgutz/execSync#38)
[2] https://www.npmjs.com/package/sync-exec
@stuharvey
Copy link
Contributor Author

This is my first pull request to somebody else's repo, please let me know if I did anything wrong :)

@ivanoats
Copy link

ivanoats commented Nov 5, 2015

I could use this, can it be merged please?

@xavi-
Copy link
Owner

xavi- commented Nov 6, 2015

Thank you. Sorry about the delay. Been busy. @stuharvey would like commit access?

xavi- added a commit that referenced this pull request Nov 6, 2015
Use sync-exec instead of execSync as exec fallback
@xavi- xavi- merged commit a8a2b30 into xavi-:master Nov 6, 2015
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

Successfully merging this pull request may close these issues.

3 participants