Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Fix node-gyp path - #571

Closed
winstliu wants to merge 2 commits into
masterfrom
wl-node-gyp
Closed

winstliu wants to merge 2 commits into
masterfrom
wl-node-gyp

Conversation

@winstliu

@winstliu winstliu commented Jun 6, 2016 •

Copy link
Copy Markdown
Contributor

This PR currently only handles apm.cmd. I'd like to get some feedback before applying the change to the other files as well.

npm_config_node_gyp requires a node-gyp.js file rather than a bash/batch script, so supply it one. This fixes Node trying to parse the node-gyp bash file as JS instead.

I've also turned off echo so that the set and if commands don't output to console.

I'm not sure if npm.cmd needs to set npm_config_node_gyp in the first place, as I didn't get any errors through that, only through apm.cmd.

Refs atom/atom#11897.

/cc @Ben3eeE, @BinaryMuse

@Ben3eeE

Ben3eeE commented Jun 6, 2016

Copy link
Copy Markdown

This fixes the build error for me, now I am running into nodegit issues like everyone else.

@BinaryMuse

Copy link
Copy Markdown

@50Wliu I haven't had time to dig into the Windows build issues related to the Node/npm upgrade at all, but this seems reasonable to me. 👍

@winstliu

Copy link
Copy Markdown
Contributor Author

This is obsolete now.

@winstliu winstliu closed this Jun 15, 2016
@winstliu
winstliu deleted the wl-node-gyp branch June 15, 2016 12:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants