it is surprisingly not that safe to share node_modules trees between 
platform.
For example, Karma uses PhantomJS which is a binary executable (not 
portable) and also uses socket.io which in turn uses ws which uses a 
compiled addon (not portable).


On Wednesday, 29 October 2014 21:08:10 UTC+1, David Karr wrote:
>
> On my Win7/Cygwin laptop, I had node/karma/phantomjs working fine, which I 
> use from the "maven-karma-plugin" in Maven.
>
> I'm now trying to use a Linux VM sharing the same Windows filesystem.  
> It's not clear to me exactly what my constraints will be here.  When I just 
> tried to navigate into a project directory that has an existing 
> "node_modules" tree (which was installed on Windows) and run a build, it 
> fails to find karma.  At that point, I manually patched my PATH to find the 
> "karma" script in the "node_modules" tree in my current directory.  When I 
> ran the build again, it then failed to start PhantomJS, although it doesn't 
> say why.
>
> What sorts of problems might I be having here?  Is it possible to share 
> the "node_modules" tree between the two platforms?
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/1c6b54db-20f4-40ba-ab41-fae7ec74adb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to