Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19052] Windows: ti create for modules with long paths fails with cryptic errors

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-06-26T03:58:14.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.1.0
ComponentsTooling, Windows
Labelsn/a
ReporterJörgen Buder
AssigneeChristopher Williams
Created2015-06-22T14:05:01.000+0000
Updated2015-07-13T18:28:37.000+0000

Description

We saw the same sort of issue with the normal app builds. We test for a given path length and it it's too long and moving the build to tmp dir would shorten the path, then we do so and copy the build results back when done. This needs to be done for module builds as well.

Attachments

FileDateSize
Skärmavbild 2015-06-22 kl. 10.59.51.png2015-06-22T16:44:41.000+000063490

Comments

  1. Christopher Williams 2015-06-23

    For now, workaround is to generate the module project in a shorter path (like C:\module_name).
  2. Christopher Williams 2015-06-25

    https://github.com/appcelerator/titanium_mobile_windows/pull/326
  3. Ewan Harris 2015-07-13

    Verified using: Windows 8.1 Appc CLI (NPM): 4.1.0 Appc CLI (Registry): 4.1.0 Ti SDK: 4.1.0.GA, 4.2.0.v20150710092422 When creating a module with 4.1.0.GA creation fails due toTIMOB-19180 but not this error. When using 4.2.0.v20150710092422 module creation is successful Closing ticket

JSON Source