You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a NS app working on NS 8.4 and Angular 12. When updating NS to 8.8, the app works as expected in my test device using ns run android. But when trying to build the aab for release I get the following error message:
Error executing Static Binding Generator: Couldn't find '/Users/nordsense/Documents/workspaces/nordsense/walker/platforms/android/build-tools/sbg-bindings.txt' bindings input file. Most probably there's an error in the JS Parser execution. You can run JS Parser with verbose logging by executing "node '/Users/nordsense/Documents/workspaces/nordsense/walker/platforms/android/build-tools/jsparser/js_parser.js' enableErrorLogging".
Detailed log here: /Users/nordsense/Documents/workspaces/nordsense/walker/platforms/android/build-tools/runSbg.log
This only happens when using @nativescript/webpack > 5.0.17. when executing node '/Users/nordsense/Documents/workspaces/nordsense/walker/platforms/android/build-tools/jsparser/js_parser.js' enableErrorLogging as mentioned in the error message, I get this result: Error processing '/Users/my_app_path/platforms/android/app/src/main/assets/app/vendor.js:' SyntaxError: Unexpected token (2:177045)
Opening this vendor.js, it turns out the errors caused by extra quotes as shown in the picture below
When building with @nativescript/webpack@5.0.17, there is no error and the same code snippet looks like below.
Reproduction
Will try to make a version for reproduction if it's really needed for troubleshooting.
Relevant log output (if applicable)
No response
Environment
OS: macOS 14.4.1CPU: (10) arm64 Apple M2 ProShell: /bin/zshnode: 16.20.2npm: 8.19.4nativescript: 8.8.2# androidjava: 17.0.12ndk: Not Foundapis: Not Foundbuild_tools: Not Foundsystem_images: Not Found# iosxcode: 15.4/15F31dcocoapods: 1.12.1python: 3.9.6python3: 3.9.6ruby: 2.7.7platforms:
- DriverKit 23.5
- iOS 17.5
- macOS 14.5
- tvOS 17.5
- visionOS 1.2
- watchOS 10.5
Issue Description
I have a NS app working on NS 8.4 and Angular 12. When updating NS to 8.8, the app works as expected in my test device using
ns run android
. But when trying to build the aab for release I get the following error message:This only happens when using

@nativescript/webpack > 5.0.17
. when executingnode '/Users/nordsense/Documents/workspaces/nordsense/walker/platforms/android/build-tools/jsparser/js_parser.js' enableErrorLogging
as mentioned in the error message, I get this result:Error processing '/Users/my_app_path/platforms/android/app/src/main/assets/app/vendor.js:' SyntaxError: Unexpected token (2:177045)
Opening this
vendor.js
, it turns out the errors caused by extra quotes as shown in the picture belowWhen building with

@nativescript/webpack@5.0.17
, there is no error and the same code snippet looks like below.Reproduction
Will try to make a version for reproduction if it's really needed for troubleshooting.
Relevant log output (if applicable)
No response
Environment
Dependencies
Please accept these terms
The text was updated successfully, but these errors were encountered: