Why is it looking for node-gyp.js in an absolute path, when node-gyp itself is installed in /usr/bin/node-gyp? If I do
find /usr -name node-gyp.js the result is
/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js /usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js As it can be seen, I have node-gyp.js in two places. How can I direct node-gyp to search these places?
npm). How did you installnode-gyp?