FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Better XML declaration error reporting for non-existing element · Issue #501 · NativeScript/NativeScript · GitHub

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

Description

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

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


    Back | FazBrowse Home | New Git URL