-
Notifications
You must be signed in to change notification settings - Fork 33
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
Crash in flexbox-layout.android.js - Right-hand side of 'instanceof' is not an object #124
Comments
Thanks for the fix @rigor789 . When i try to build with @nativescript/[email protected], ERROR in d:/Project Workspace/node_modules/@nativescript/angular/http-client/http-utils.js ERROR in d:/Project Workspace/node_modules/@nativescript/angular/element-registry.js ERROR in d:/Project Workspace/node_modules/nativescript-carousel/carousel.common.js ERROR in d:/Project Workspace/node_modules/nativescript-carousel/carousel.common.js ERROR in d:/Project Workspace/node_modules/nativescript-carousel/carousel.common.js ERROR in d:/Project Workspace/node_modules/nativescript-drop-down/drop-down.js is there any other dependencies i need to update it in my package.json? Please guide me Note: With nativescript-core version 6.5.12, there is no error other than the mentioned issue in #124 |
@svmashok that is expected - we have been refactoring and cleaning up core for 7.0. Your imports need to be updated to always import from https://nativescript.org/blog/upgrading-tips-for-angular-10/ |
The "Error: Can't resolve '@nativescript/core/ui/border' " also appears when trying to create a project from the vue-cli template of NativeScript. Does this mean I have to change to the old version of nativescript until these issues are resolved? Before the upgrade to 7.0 everything was working fine. |
@loewl Are you using the ns7 branch of the template? It will be merged into master as soon as I get a chance - but currently you have to create the project with |
Hi @NathanWalker @NathanaelA @rigor789 @gabrielbiga @sitefinitysteve
I am using @nstudio/nativescript-floatingactionbutton version 2.1.0 in angular project and FAB button works fine.
But i got error when i do logout from my application. Its just navigate to login page.. no special code inside.
Error:
System.err: An uncaught Exception occurred on "main" thread.
System.err: Calling js method onCreateView failed
System.err: TypeError: Right-hand side of 'instanceof' is not an object
System.err:
System.err: StackTrace:
System.err: (file: apps\oxseco\src\webpack:\d:..\node_modules@nativescript\core\ui\layouts\flexbox-layout\flexbox-layout.js:14:0)
System.err: at applyAllNativeSetters(file: apps\xxxxx\src\webpack:\d:....\node_modules@nativescript\core\ui\core\properties\properties.js:1065:0)
is there any nativescript core dependency is missing in the plugin?
html:
<FAB
(tap)="fabTap()"
text=""
rippleColor="#f1f1f1"
class="fas fab-button"
>
ts:
registerElement(
'Fab',
() => require('@nstudio/nativescript-floatingactionbutton').Fab
);
Note: Without FAB implementation in html it works fine. so it must be an error from the plugin only.
my application package json have
"@angular/core": "9.1.0",
"@angular/forms": "9.1.0",
"@angular/platform-browser": "9.1.0",
"@angular/platform-browser-dynamic": "9.1.0",
"@angular/router": "9.1.0",
"@nativescript/angular": "~9.0.0",
"@nativescript/core": "~6.5.5",
Can anyone guide me
The text was updated successfully, but these errors were encountered: