Sign in
Log inSign up

Destination path too long message in Windows

Mutyalarao's photo
Mutyalarao
·Jun 2, 2016

Hi,

I am trying to move my Node.js app and while copying, some files fail to move with the error message Destination path too long. Prima facie, it seems due to the repeatedly embedded 'node_modules' folders for some npm libraries (like babel). [few images attached]

D:\dev\temp\myexpress\node_modules\babel-core\node_modules\babel-traverse\node_modules\invariant\node_modules\loose-envify\node_modules

Is this not a good design?Can anyone help me with a workaround for this? title here

title here