cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Blotsky <dblot...@microsoft.com>
Subject [DISCUSS] Copying node_modules during platform install
Date Mon, 26 Oct 2015 22:06:48 GMT
Hey folks,

I’ve come across a bug with symlinks and platform installation recently. The point of interest
is this line: https://github.com/apache/cordova-ios/blob/4039aeb6f87c6803df5814b8cdefb8c2058504a0/bin/lib/create.js#L93.

Is copying node_modules a safe operation? In my case there was a relative symlink inside it
when it was copied and as a result some dependencies broke. The symlink was created by a previous
invocation of “npm link”.

Kindly,
Dmitry
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message