Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26788] require fails on directory with package.json whose 'main' field points at another directory

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2019-03-25T11:27:11.000+0000
Affected Version/sRelease 8.0.0
Fix Version/sRelease 8.0.1
ComponentsAndroid, iOS, Windows
Labelsn/a
ReporterChristopher Williams
AssigneeChristopher Williams
Created2019-02-01T16:33:51.000+0000
Updated2019-03-25T11:27:11.000+0000

Description

If you attempted to require a directory (or npm package) that held a package.json in it whose 'main' field pointed at another directory - it failed to properly resolve that.

Comments

  1. Christopher Williams 2019-02-01

    master/8.1.0: https://github.com/appcelerator/titanium_mobile/pull/10669 8.0.1: https://github.com/appcelerator/titanium_mobile/pull/10672
  2. Christopher Williams 2019-03-15

    The PRs have been merged to master/8_0_X. There's no specific QE tests beyond the scenario already written into a unit test accompanying the change.
  3. Lokesh Choudhary 2019-03-20

    PR's are merged.
  4. Samir Mohammed 2019-03-25

    Closing ticket, test written into a unit test which accompanies the change as mentioned above.

JSON Source