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

node-gyp appears to be broken when executing 'npm install' through shellton #20

Closed
catdad opened this issue Mar 6, 2018 · 3 comments
Closed
Labels

Comments

@catdad
Copy link
Owner

catdad commented Mar 6, 2018

var shellton = require('shellton');

shellton({
  task: 'npm install ref',
  stdout: process.stdout,
  stderr: process.stderr,
}, (err) => {
  console.log('done', err);
});
@catdad catdad added the bug label Mar 6, 2018
@catdad
Copy link
Owner Author

catdad commented Mar 7, 2018

node-gyp can't be found on the path. This appears to only happen on node 8, and not on node 4... weird. Might be related to #21.

@catdad
Copy link
Owner Author

catdad commented Mar 7, 2018

This seems to have to do with having PATH, Path, and path on the env... weird part is, all 3 are set to the same value, but setting only PATH makes it work fine. So I need to investigate a bit more.

@catdad
Copy link
Owner Author

catdad commented Mar 12, 2018

Published in 4.0.0.

@catdad catdad closed this as completed Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant