[ALOY-798] Modify Error Message: Cannot read property 'manifest' of undefined
GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-08-19T22:31:04.000+0000 |
Affected Version/s | Alloy 1.2.0 |
Fix Version/s | Alloy 1.3.0 |
Components | Widgets |
Labels | qe-testadded |
Reporter | Alan Leard |
Assignee | Tony Lukasavage |
Created | 2013-08-19T18:20:09.000+0000 |
Updated | 2013-10-14T18:51:07.000+0000 |
Description
Description
If you build an alloy app with a widget in the dependencies that doesn't exist the error message is 'Cannot read property 'manifest' of undefined'. It would be helpful to change that error message to something more descriptive like [Error] config.json/line 10: Missing dependency 'test:1.0'
Resources
I have attached a sample app to reproduce the error
Attachments
File | Date | Size |
app.zip | 2013-08-19T18:20:09.000+0000 | 4987617 |
PR: https://github.com/appcelerator/alloy/pull/228 test app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-798
Compile the app
It should compile and load (a blank, white app) successfully
Add a non-existent widget to the config.json dependencies. For the sake of this test, we'll call it "some.missing.widget"
Attempt to compile the app.
It should fail with the following error:
Verified fixed. TiSDK 3.2.0.v20131013140318 Alloy 1.3.0 Closing