-
Notifications
You must be signed in to change notification settings - Fork 304
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
Failed to execute 'appendChild' on 'Node': first arguments should be an Node type. #931
Labels
bug
Something isn't working
Comments
看上去和这个有关,#935 可以再验证一下 |
@andycall 使用报了另外的错。
报如下错: E/flutter (32725): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libkraken.so': dlopen failed: library "libkraken.so" not found
E/flutter (32725): #0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11:55)
E/flutter (32725): #1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:20:12)
E/flutter (32725): #2 nativeDynamicLibrary
package:kraken/…/bridge/platform.dart:24
E/flutter (32725): #3 nativeDynamicLibrary (package:kraken/src/bridge/platform.dart)
package:kraken/…/bridge/platform.dart:1
E/flutter (32725): #4 _registerDartMethods
package:kraken/…/bridge/from_native.dart:405
E/flutter (32725): #5 _registerDartMethods (package:kraken/src/bridge/from_native.dart)
package:kraken/…/bridge/from_native.dart:1
E/flutter (32725): #6 registerDartMethodsToCpp
package:kraken/…/bridge/from_native.dart:411
E/flutter (32725): #7 initBridge
package:kraken/…/bridge/bridge.dart:27
E/flutter (32725): #8 new KrakenViewController
package:kraken/…/launcher/controller.dart:114
E/flutter (32725): #9 new KrakenController
package:kraken/…/launcher/controller.dart:501
E/flutter (32725): #10 _KrakenRenderObjectWidget.createRenderObject
package:kraken/widget.dart:888
E/flutter (32725): #11 RenderObjectElement.mount
package:flutter/…/widgets/framework.dart:5430
E/flutter (32725): #12 SingleChildRenderObjectElement.mount
package:flutter/…/widgets/framework.dart:6082
E/flutter (32725): #13 _KrakenRenderObjectElement.mount
package:kraken/widget.dart:968
E/flutter (32725): #14 Element.inflateWidget
package:flutter/…/widgets/framework.dart:3611
E/flutter (32725): #15 Element.updateChild
package:flutter/…/widgets/framework.dart:3363
E/flutter (32725): #16 SingleChildRenderObjectElement.mount
package:flutter/…/widgets/framework.dart:6083
E/flutter (32725): #17 Element.inflateWidget
package:flutter/…/widgets/framework.dart:3611
E/flutter (32725): #18 Element.updateChild
package:flutter/…/widgets/framework.dart:3363
E/flutter (32725): #19 ComponentElement.performRebuild
package:flutter/…/widgets/framework.dart:4599
E/flutter (32725): #20 Element.rebuild
package:flutter/…/widgets/framework.dart:4267
E/flutter (32725): #21 ComponentElement._firstBuild
package:flutter/…/widgets/framework.dart:4553
E/flutter (32725): #22 ComponentElement.mount
package:flutter/…/widgets/framework.dart:4548
E/flutter (32725): #23 Element.inflateWidget
package:flutter/…/widgets/framework.dart:3611
E/flutter (32725): #24 Element.updateChild
package:flutter/…/widgets/framework.dart:3363
E/flutter (32725): #25 ComponentElement.performRebuild
package:flutter/…/widgets/framework.dart:4599
E/flutter (32725): #26 StatefulElement.performRebuild
package:flutter/…/widgets/framework.dart:4746
E/flutter (32725): #27 Element.rebuild
package:flutter/…/widgets/framework.dart:4267
E/flutter (32725): #28 ComponentElement._firstBuild
package:flutter/…/widgets/framework.dart:4553
E/flutter (32725): #29 StatefulElement._firstBuild
package:flutter/…/widgets/framework.dart:4737
E/flutter (32725): #30 ComponentElement.mount
package:flutter/…/widgets/framework.dart:4548
E/flutter (32725): #31 Element.inflateWidget
package:flutter/…/widgets/framework.dart:3611
E/flutter (32725): #32 Element.updateChild
package:flutter/…/widgets/framework.dart:3363
E/flutter (32725): #33 SingleChildRenderObjectElement.mount
package:flutter/…/widgets/framework.dart:6083
E/flutter (32725): #34 Element.inflateWidget
package:flutter/…/widgets/framework.dart:3611
E/flutter (32725): #35 Element.updateChild
package:flutter/…/widgets/framework.dart:3363
E/flutter (32725): #36 ComponentElement.performRebuild
package:flutter/…/widgets/framework.dart:4599
E/flutter (32725): #37 StatefulElement.performRebuild
package:flutter/…/widgets/framework.dart:4746
E/flutter (32725): #38 Element.rebuild
package:flutter/…/widgets/framework.dart:4267
E/flutter (32725): #39 ComponentElement._firstBuild
package:flutter/…/widgets/framework.dart:4553
E/flutter (32725): #40 StatefulElement._firstBuild
package:flutter/…/widgets/framework.dart:4737
E/flutter (32725): #41 ComponentElement.mount
package:flutter/…/widgets/framework.dart:4548
E/flutter (32725): #42 Element.inflateWidget
package:flutter/…/widgets/framework.dart:3611
E/flutter (32725): #43 Element.updateChild
package:flutter/…/widgets/framework.dart:3363
E/flutter (32725): #44 ComponentElement.performRebuild
package:flutter/…/widgets/framework.dart:4599
E/flutter (32725): #45 Element.rebuild
package:flutter/…/widgets/framework.dart:4267
E/flutter (32725): #46 ComponentEl |
bridge 没有构建。 |
@andycall 大佬,请问我现在需要怎样才能正常使用这个修复好的版本,
报错: ════════ Exception caught by scheduler library ═════════════════════════════════
The following assertion was thrown during a scheduler callback:
'package:kraken/src/css/margin.dart': Failed assertion: line 25 pos 12: 'insets.isNonNegative': is not true.
package:kraken/…/css/margin.dart:1
When the exception was thrown, this was the stack
#2 CSSMarginMixin.margin
package:kraken/…/css/margin.dart:25
#3 RenderStyle.getLogicalContentWidth
package:kraken/…/css/render_style.dart:269
#4 RenderStyle.contentBoxLogicalWidth
package:kraken/…/css/render_style.dart:499
#5 CSSLengthValue.computedValue
package:kraken/…/values/length.dart:129
#6 CSSLengthValue.isAuto
package:kraken/…/values/length.dart:329
...
════════════════════════════════════════════════════════════════════════════════
|
margin 里面存在负值,可能需要这个 #938 来修复一下 |
转移到 #936 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用的 Kraken 版本 | What version of kraken are you using
Version: v0.9
重现步骤 | Steps To Reproduce
公司当前项目使用场景:
使用多个tab分别加载了多个Kraken页面,测试发现guide-styles.js里使用了图片导致下面的错误,如果去掉图片正常。如果不使用tab的形式,只独立加载guide-styles.js有图片也是正常的。
重现代码 | Code example:
预期结果 | Expected results:
实际结果 | Actual results:
The text was updated successfully, but these errors were encountered: