This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: introduction, fix for npm w.r.t. git, and questions


I think the "correct" fix would be to get npm (or possibly the
JavaScript engine itself?) to stop acting as if it's in a Windows
environment
You're on the right track. The root issue is that Node.js (on which npm runs) is a native Windows binary in pretty much all cases, as it's not possible to build it or v8 (the JS engine) through Cygwin's toolchain, at least not without numerous modifications. Node.js had actual support for Cygwin until 0.4.2 (which is ancient), after which it was dropped, presumably because of v8 build issues.

If one were to obtain a Cygwin-built Node.js binary, `process.platform` would be `Linux` and npm would happily feed POSIX paths into git.

Regards,
Romain

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]