Skip to content

Better XML declaration error reporting for non-existing element #501

@PanayotCankov

Description

@PanayotCankov

I am getting the following error in the terminal:

/app/tns_modules/ui/builder/component-builder.js:70:102: JS ERROR Error: Cannot create module ui/menuitem. Error: Failed to find module 'ui/menuitem' relative to '/app/tns_modules/ui/builder/component-builder.js'. Computed path: /Users/cankov/Library/Developer/CoreSimulator/Devices/C624BB9B-E14A-40B4-81E3-C0D011F9879A/data/Containers/Bundle/Application/4A5E812C-83EA-4A0A-B9F4-EC18A8B3C0EC/sampleTasks.app/app/tns_modules/ui/menuitem.js. StackTrace: ModuleError...

For an error, where I have misused a component in the XML. I would expect to see path to the XML along with line and column in the XML, rather than the source in the component-builder.js where the error occured.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions