Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6012] Android: Better error message for wrong module path

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-09T16:55:45.000+0000
Affected Version/sRelease 1.7.5
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterKevin Whinnery
AssigneeEric Merriman
Created2011-11-04T21:23:41.000+0000
Updated2017-06-09T16:55:45.000+0000

Description

When I fat fingered the path to a module in my project, the error message I got was misleading: "NOT_FOUND is not defined at line 1". When the module path is incorrect, and error message indicating this would be helpful for debugging. To reproduce, attempt to require a module using the wrong path, as in:
exports.foo = 'bar';
Usage:
var mod = require('somethingwrong/mod.js');

Comments

  1. Lee Morris 2017-06-09

    Closing ticket due to time passed, any problems please open a new ticket.

JSON Source