Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail SBG when there's no sbg-bindings.txt file generated #1286

Closed
vtrifonov opened this issue Feb 21, 2019 · 0 comments
Closed

Fail SBG when there's no sbg-bindings.txt file generated #1286

vtrifonov opened this issue Feb 21, 2019 · 0 comments
Assignees
Milestone

Comments

@vtrifonov
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When there's a problem in the JS Parser and no output file(sbg-bindings.txt) is generated the build will just output a stack trace from the SBG for missing sbg-bindings.txt file, but will continue and an error will be thrown in runtime.

Describe the solution you'd like
In that case it would be better to stop the build, so that it would be more obvious where the problem is.

Additional context
In addition to that it would be good if we can easily get the errors from the JS Parser run either by starting only the JS Parser like this:

node platforms/android/build-tools/jsparser/js_parser.js enableErrorLogging

or by setting environment variable with tns build android like this

export JS_PARSER_ERROR_LOGGING=true && tns build android 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants