-
-
Notifications
You must be signed in to change notification settings - Fork 141
Description
From @NathanaelA on February 25, 2016 23:55
Windows only supports 255 character length paths... This is VERY IMPORTANT to this issue!
For some reason the CLI is creating a really long path for merging stuff using the names of each installed plugin. So for example when using 8 plugins if each of them are an average of 22 characters (nativescript = 12 by itself, almost every plugin is prefixed with those 12 characters). = 176 characters.
So If I have D:\projects\nativescript\projname = 35
Then you add in \platforms\android\build\intermediates\res\merged = 59
(176 in Plugin name characters) = 172
Then you add the image part of the path \debug\drawable-xxhdpi\someimage.png = 49
= 315 Characters. Guess what happens. No Worky 😀 and now your platform folder is totally screwed up.
THIS IS A BAD ISSUE! It leaves the project effectively dead.
Plugins I was using:
"nativescript-barcodescanner": "^1.2.0",
"nativescript-cardview": "^0.1.1",
"nativescript-dom": "^1.0.0",
"nativescript-drop-down": "^1.2.1",
"nativescript-grid-view": "^1.3.0",
"nativescript-liveedit": "file:..\repos\nativescript-liveedit",
"nativescript-sqlite": "file:..\repos\nativescript-sqlite",
"nativescript-telerik-ui": "file:..\nativescript-ui-debug-dev.tgz",
"tns-core-modules": "^1.6.2"
Then I attempted to add: nativescript-floatingactionbutton
This is a BLOCKING issue for most people when they hit this. I have some ways I think I can work around this.
Copied from original issue: NativeScript/nativescript-cli#1546