mjbrooke / flutterredux_friendlychatapp Goto Github PK
View Code? Open in Web Editor NEWA version of the Google Codelab 'Building Beautiful UI's with Flutter' that uses Dart 2, Redux and Flutter_Redux
A version of the Google Codelab 'Building Beautiful UI's with Flutter' that uses Dart 2, Redux and Flutter_Redux
When I try to run the app, there is a compile error :
Launching lib\main.dart on GT I9505 in debug mode...
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
compiler message: Unhandled exception:
Crash when compiling file:///C:/flutter/FlutterRedux_FriendlyChatApp/lib/main.dart,
at character offset 1943:
lib/main.dart: Internal problem: Unhandled this in defaultTreeNode.
#0 internalProblem (package:front_end/src/fasta/problems.dart:30)
#1 unhandled (package:front_end/src/fasta/problems.dart:43)
#2 ConstnessEvaluator.defaultTreeNode (package:front_end/src/fasta/kernel/constness_evaluator.dart:112)
#3 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140)
#4 TreeVisitor.visitThisExpression (package:kernel/visitor.dart:171)
#5 ThisExpression.accept (package:kernel/ast.dart:3341)
#6 ConstnessEvaluator.visitPropertyGet (package:front_end/src/fasta/kernel/constness_evaluator.dart:287)
#7 PropertyGet.accept (package:kernel/ast.dart:2242)
#8 ConstnessEvaluator.visitConstructorInvocation (package:front_end/src/fasta/kernel/constness_evaluator.dart:175)
#9 ConstructorInvocation.accept (package:kernel/ast.dart:2983)
#10 ConstnessEvaluator.evaluate (package:front_end/src/fasta/kernel/constness_evaluator.dart:99)
#11 evaluateConstness (package:front_end/src/fasta/kernel/constness_evaluator.dart:466)
#12 BodyBuilder.inferConstness (package:front_end/src/fasta/kernel/body_builder.dart:710)
#13 BodyBuilder.finishFunction (package:front_end/src/fasta/kernel/body_builder.dart:697)
#14 DietListener.listenerFinishFunction (package:front_end/src/fasta/source/diet_listener.dart:684)
#15 DietListener.parseFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:718)
#16 DietListener.buildFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:565)
#17 DietListener.endMethod (package:front_end/src/fasta/source/diet_listener.dart:530)
#18 Parser.parseMethod (package:front_end/src/fasta/parser/parser.dart:3796)
#19 Parser.parseClassMemberImpl (package:front_end/src/fasta/parser/parser.dart:3670)
#20 Parser.parseClassBody (package:front_end/src/fasta/parser/parser.dart:3467)
#21 Parser.parseClass (package:front_end/src/fasta/parser/parser.dart:1699)
#22 Parser.parseClassOrNamedMixinApplication (package:front_end/src/fasta/parser/parser.dart:1659)
#23 Parser.parseTopLevelKeywordDeclaration (package:front_end/src/fasta/parser/parser.dart:535)
#24 Parser.parseTopLevelDeclarationImpl (package:front_end/src/fasta/parser/parser.dart:451)
#25 Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:335)
#26 SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:198)
<asynchronous suspension>
#27 Loader.buildBodies (package:front_end/src/fasta/loader.dart:157)
<asynchronous suspension>
#28 KernelTarget.buildComponent (package:front_end/src/fasta/kernel/kernel_target.dart:292)
<asynchronous suspension>
#29 IncrementalCompiler.computeDelta.<anonymous closure> (package:front_end/src/fasta/incremental_compiler.dart:140)
<asynchronous suspension>
#30 CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:105)
#31 _rootRun (dart:async/zone.dart:1126)
#32 _CustomZone.run (dart:async/zone.dart:1023)
#33 runZoned (dart:async/zone.dart:1501)
#34 CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:105)
#35 IncrementalCompiler.computeDelta (package:front_end/src/fasta/incremental_compiler.dart:61)
<asynchronous suspension>
#36 IncrementalCompiler.compile (package:vm/incremental_compiler.dart:33)
<asynchronous suspension>
#37 FrontendCompiler.compile.<anonymous closure> (package:vm/frontend_server.dart:254)
#38 new Future.<anonymous closure> (dart:async/future.dart:174)
#39 _rootRun (dart:async/zone.dart:1122)
#40 _CustomZone.run (dart:async/zone.dart:1023)
#41 _CustomZone.runGuarded (dart:async/zone.dart:925)
#42 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965)
#43 _rootRun (dart:async/zone.dart:1126)
#44 _CustomZone.run (dart:async/zone.dart:1023)
#45 _CustomZone.bindCallback.<anonymo
compiler message: us closure> (dart:async/zone.dart:949)
#46 Timer._createTimer.<anonymous closure> (dart:async-patch/dart:async/timer_patch.dart:21)
#47 _Timer._runTimers (dart:isolate-patch/dart:isolate/timer_impl.dart:382)
#48 _Timer._handleMessage (dart:isolate-patch/dart:isolate/timer_impl.dart:416)
#49 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
#0 internalProblem (package:front_end/src/fasta/problems.dart:30)
#1 unhandled (package:front_end/src/fasta/problems.dart:43)
#2 ConstnessEvaluator.defaultTreeNode (package:front_end/src/fasta/kernel/constness_evaluator.dart:112)
#3 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140)
#4 TreeVisitor.visitThisExpression (package:kernel/visitor.dart:171)
#5 ThisExpression.accept (package:kernel/ast.dart:3341)
#6 ConstnessEvaluator.visitPropertyGet (package:front_end/src/fasta/kernel/constness_evaluator.dart:287)
#7 PropertyGet.accept (package:kernel/ast.dart:2242)
#8 ConstnessEvaluator.visitConstructorInvocation (package:front_end/src/fasta/kernel/constness_evaluator.dart:175)
#9 ConstructorInvocation.accept (package:kernel/ast.dart:2983)
#10 ConstnessEvaluator.evaluate (package:front_end/src/fasta/kernel/constness_evaluator.dart:99)
#11 evaluateConstness (package:front_end/src/fasta/kernel/constness_evaluator.dart:466)
#12 BodyBuilder.inferConstness (package:front_end/src/fasta/kernel/body_builder.dart:710)
#13 BodyBuilder.finishFunction (package:front_end/src/fasta/kernel/body_builder.dart:697)
#14 DietListener.listenerFinishFunction (package:front_end/src/fasta/source/diet_listener.dart:684)
#15 DietListener.parseFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:718)
#16 DietListener.buildFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:565)
#17 DietListener.endMethod (package:front_end/src/fasta/source/diet_listener.dart:530)
#18 Parser.parseMethod (package:front_end/src/fasta/parser/parser.dart:3796)
#19 Parser.parseClassMemberImpl (package:front_end/src/fasta/parser/parser.dart:3670)
#20 Parser.parseClassBody (package:front_end/src/fasta/parser/parser.dart:3467)
#21 Parser.parseClass (package:front_end/src/fasta/parser/parser.dart:1699)
#22 Parser.parseClassOrNamedMixinApplication (package:front_end/src/fasta/parser/parser.dart:1659)
#23 Parser.parseTopLevelKeywordDeclaration (package:front_end/src/fasta/parser/parser.dart:535)
#24 Parser.parseTopLevelDeclarationImpl (package:front_end/src/fasta/parser/parser.dart:451)
#25 Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:335)
#26 SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:198)
<asynchronous suspension>
#27 Loader.buildBodies (package:front_end/src/fasta/loader.dart:157)
<asynchronous suspension>
#28 KernelTarget.buildComponent (package:front_end/src/fasta/kernel/kernel_target.dart:292)
<asynchronous suspension>
#29 IncrementalCompiler.computeDelta.<anonymous closure> (package:front_end/src/fasta/incremental_compiler.dart:140)
<asynchronous suspension>
#30 CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:105)
#31 _rootRun (dart:async/zone.dart:1126)
#32 _CustomZone.run (dart:async/zone.dart:1023)
#33 runZoned (dart:async/zone.dart:1501)
#34 CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:105)
#35 IncrementalCompiler.computeDelta (package:front_end/src/fasta/incremental_compiler.dart:61)
<asynchronous suspension>
#36 IncrementalCompiler.compile (package:vm/incremental_compiler.dart:33)
<asynchronous suspension>
#37 FrontendCompiler.compile.<anonymous closure> (package:vm/frontend_server.dart:254)
#38 new Future.<anonymous closure> (dart:async/future.dart:174)
#39 _rootRun (dart:async/zone.dart:1122)
#40 _CustomZone.run (dart:async/zone.dart:1023)
#41 _CustomZone.runGuarded (dart:async/zone.dart:925)
#42 _CustomZone.bi
compiler message: ndCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965)
#43 _rootRun (dart:async/zone.dart:1126)
#44 _CustomZone.run (dart:async/zone.dart:1023)
#45 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:949)
#46 Timer._createTimer.<anonymous closure> (dart:async-patch/dart:async/timer_patch.dart:21)
#47 _Timer._runTimers (dart:isolate-patch/dart:isolate/timer_impl.dart:382)
#48 _Timer._handleMessage (dart:isolate-patch/dart:isolate/timer_impl.dart:416)
#49 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
Compiler terminated unexpectedly on C:\flutter\FlutterRedux_FriendlyChatApp\lib\main.dart
FAILURE: Build failed with an exception.
* Where:
Script 'C:\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 441
* What went wrong:
Execution failed for task ':app:flutterDependenciesDebug'.
> Process 'command 'C:\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 23s
Finished with error: Gradle build failed: 1
Flutter Dorctor:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.2.8, on Microsoft Windows [version 6.3.9600], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.1)
[√] IntelliJ IDEA Community Edition (version 2018.1)
[√] Connected devices (1 available)
• No issues found!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.