Skip to content

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

Closed

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.

Activity

  1. changed the title [-]XML declaration error reporting[/-] [+]Better XML declaration error reporting[/+] on Jul 28, 2015
  2. changed the title [-]Better XML declaration error reporting[/-] [+]Better XML declaration element error reporting[/+] on Jul 28, 2015
  3. changed the title [-]Better XML declaration element error reporting[/-] [+]Better XML declaration error reporting for non-existing element[/+] on Jul 30, 2015
  4. RobzInadE commented on Aug 6, 2015

    @RobzInadE

    +1
    Confused me too when i tried porting my Page.optionsBar to the new actionbar in my view xml

  5. self-assigned this
    on Oct 7, 2015
  6. added this to the milestone on Nov 11, 2015
  7. modified the milestones: , 1.5.1 on Nov 26, 2015
  8. lock commented on Aug 30, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  9. locked and limited conversation to collaborators on Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions