I’m able to build contextify 0.1.1 using node-gyp on Windows, but I don’t know how to get npm to recognize/use this version when resolving other modules’ dependencies. ‘npm install’ fails with the same (expected) ‘node-waf was unexpected at this time.’ error, despite having a build version of contextify in the local directory.
Put simply: how do I tell npm to use a module I’ve built myself, instead of trying to download/build its own?
npm installinstalls modules into the current directory’snode_modulesdirectory. So instead of usingnpm installat all, just move/copy the contextify module that you built yourself tonode_modules/contextify. Unfortunately you will have to do this for any module that depends oncontextify.Hope that helps!