[TIMOB-24061] Android: Different debug-log for incorrect CommonJS usage
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-10-24T18:51:28.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.0.0 |
Components | Android |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2016-10-21T14:05:14.000+0000 |
Updated | 2018-08-06T17:49:14.000+0000 |
Description
When we want to require a CommonJS module without a "/" at the beginning, the debug-log is different on iOS and Android.
iOS:
{quote}
require called with un-prefixed module id: helper/test, should be a core or CommonJS module. Falling back to old Ti behavior and assuming it's an absolute path: /helper/test
{quote}
Android:
{quote}
require called with un-prefixed module id, should be a core or CommonJS module. Falling back to old Ti behavior and assuming it's an absolute file
{quote}
We should just unify them to display the actual bad boy, so the devs can migrate more easy.
PR (master): https://github.com/appcelerator/titanium_mobile/pull/8531 PR (6_0_X): https://github.com/appcelerator/titanium_mobile/pull/8532
Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.